Index: tools/auto_bisect/run_tests |
diff --git a/tools/auto_bisect/run_tests b/tools/auto_bisect/run_tests |
index 0ee241e388ac51662f4883b1f2c8ae4c3d996ee3..f078331514295205328558e3db09d8f7de7a8369 100755 |
--- a/tools/auto_bisect/run_tests |
+++ b/tools/auto_bisect/run_tests |
@@ -9,12 +9,16 @@ import os |
import sys |
import unittest |
+SRC = os.path.join(os.path.dirname(__file__), os.path.pardir, os.path.pardir) |
+ |
def main(): |
+ # Running the tests depends on having the below modules in PYTHONPATH. |
+ sys.path.append(os.path.join(SRC, 'tools', 'telemetry')) |
+ sys.path.append(os.path.join(SRC, 'third_party', 'pymock')) |
+ |
suite = unittest.TestSuite() |
loader = unittest.TestLoader() |
- |
- # Add all tests in the directory. |
script_dir = os.path.dirname(__file__) |
suite.addTests(loader.discover(start_dir=script_dir, pattern='*_test.py')) |