aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-06 16:29:18 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-11-06 16:29:18 -0800
commite733da5fbc908d22e87fd7cea647d37ebf53dd29 (patch)
tree49783a60fa3684d15ee877ae06f882884710dc53 /tests
parente5afadc45cd841a933698215d6276593f3573e5d (diff)
remove -g in -O2, for more test coverage
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index b214b583..c969a344 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -7104,6 +7104,8 @@ class %s(T):
if self.emcc_args is not None:
Settings.load(self.emcc_args)
Building.LLVM_OPTS = 0
+ if '-O2' in self.emcc_args:
+ Building.COMPILER_TEST_OPTS = [] # remove -g in -O2 tests, for more coverage
return
llvm_opts = %d # 1 is yes, 2 is yes and unsafe