diff options
author | hclam@google.com <hclam@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-28 00:15:46 +0000 |
---|---|---|
committer | hclam@google.com <hclam@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-28 00:15:46 +0000 |
commit | c9bd7df2b56be5f82560ee13e1e0e9b72966c749 (patch) | |
tree | 58511fbb42b22973d97b531e605ea1ae75369ece /tools | |
parent | 1eda0ae2298e82eb96f6d32fa562f7341cc42645 (diff) | |
download | chromium_src-c9bd7df2b56be5f82560ee13e1e0e9b72966c749.zip chromium_src-c9bd7df2b56be5f82560ee13e1e0e9b72966c749.tar.gz chromium_src-c9bd7df2b56be5f82560ee13e1e0e9b72966c749.tar.bz2 |
LD_LIBRARY_PATH needs to be set for media tests that uses FFmpeg to work properly.
BUG=16945
TEST=test_shell_tests --gtest_filter=MediaLeakTest.*
Review URL: http://codereview.chromium.org/159386
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21756 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/valgrind/chrome_tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/valgrind/chrome_tests.py b/tools/valgrind/chrome_tests.py index 0a65793..405628d 100755 --- a/tools/valgrind/chrome_tests.py +++ b/tools/valgrind/chrome_tests.py @@ -216,6 +216,10 @@ class ChromeTests: if cmd_args: cmd.extend(["--"]) cmd.extend(cmd_args) + + # Sets LD_LIBRARY_PATH to the build folder so external libraries can be + # loaded. + os.putenv("LD_LIBRARY_PATH", self._options.build_dir) return valgrind_test.RunTool(cmd) def TestBase(self): |