aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py4
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=[]):