diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-20 17:58:23 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-20 17:58:23 -0800 |
commit | c77346ca4a45f9eeaa1eb2b4a71ec73cfee4799c (patch) | |
tree | 3e83708399601b8babe4a79c3d23d6169ea6d882 | |
parent | 0647e9d3d9a7cd8f1e2e76b2d706316ca034bf1e (diff) |
wipe the emscripten cache in benchmarks too
-rw-r--r-- | tests/runner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py index 626c33fb..b84c1d35 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -253,13 +253,13 @@ process(sys.argv[1]) sys.argv = map(lambda arg: arg if not arg.startswith('test_') else 'default.' + arg, sys.argv) +Cache.erase() # Wipe the cache, so that we always test populating it in the tests, benchmarks, etc. + if 'benchmark' not in str(sys.argv) and 'sanity' not in str(sys.argv): # Tests print "Running Emscripten tests..." - Cache.erase() # Wipe the cache, so that we always test populating it in the test runner - class T(RunnerCore): # Short name, to make it more fun to use manually on the commandline ## Does a complete test - builds, runs, checks output, etc. def do_run(self, src, expected_output=None, args=[], output_nicerizer=None, output_processor=None, no_build=False, main_file=None, additional_files=[], js_engines=None, post_build=None, basename='src.cpp', libraries=[], includes=[], force_c=False, build_ll_hook=None, extra_emscripten_args=[]): |