summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/chrome_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/valgrind/chrome_tests.py')
-rwxr-xr-xtools/valgrind/chrome_tests.py4
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):