Index: mojo/tools/pylib/mojo_python_tests_runner.py |
diff --git a/mojo/tools/pylib/mojo_python_tests_runner.py b/mojo/tools/pylib/mojo_python_tests_runner.py |
index 095f728b3d5707bcc62ed57470a6a3489da4da8e..e63a2a41bc629b31e47e6261cd0dd3fd5a2ada00 100644 |
--- a/mojo/tools/pylib/mojo_python_tests_runner.py |
+++ b/mojo/tools/pylib/mojo_python_tests_runner.py |
@@ -51,7 +51,7 @@ class MojoPythonTestRunner(object): |
loader = unittest.loader.TestLoader() |
print "Running Python unit tests under %s..." % self._test_dir |
- pylib_dir = os.path.join(chromium_src_dir, self._test_dir) |
+ pylib_dir = os.path.abspath(os.path.join(chromium_src_dir, self._test_dir)) |
if args.tests: |
if pylib_dir not in sys.path: |
sys.path.append(pylib_dir) |