diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-19 16:18:57 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-19 16:18:57 -0800 |
commit | a1532fb584085d6f53632968a6e2aba6d91cebf7 (patch) | |
tree | 7d6881713efe79308f36fbda0416e22af51a7e9c | |
parent | fcc5b3413d030391cf04f3e7389c22d9422ce464 (diff) |
fix test runner bug with not having a current directory
-rw-r--r-- | tests/runner.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index b4847a7b..3f9c352c 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -141,6 +141,7 @@ process(sys.argv[1]) shutil.move(os.path.join(dirname, main_file), filename) # the additional files were copied; alter additional_files to point to their full paths now additional_files = map(lambda f: os.path.join(dirname, f), additional_files) + os.chdir(self.get_dir()) # C++ => LLVM binary |