aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-27 16:43:39 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-06-27 16:43:39 -0700
commit7a218fecc3f2ccff24de4ca947907b011d878a46 (patch)
tree195ccbecebfda0dc599f62924739f7aed753aa1d
parentbaeffc2a8abd1560adcb4e84b536c336a02a675f (diff)
now that we serialize the settings in the test runner's call to emcc on source to bitcode, we don't need COMPILER_TEST_OPTS to contain everything
-rwxr-xr-xtests/runner.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 5856311a..d8871680 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -10044,10 +10044,10 @@ class %s(T):
Building.LLVM_OPTS = 0
if '-O2' in self.emcc_args:
Building.COMPILER_TEST_OPTS = [] # remove -g in -O2 tests, for more coverage
- Building.COMPILER_TEST_OPTS += self.emcc_args
- #for arg in self.emcc_args:
- # if arg.startswith('-O'):
- # Building.COMPILER_TEST_OPTS.append(arg) # so bitcode is optimized too, this is for cpp to ll
+ #Building.COMPILER_TEST_OPTS += self.emcc_args
+ for arg in self.emcc_args:
+ if arg.startswith('-O'):
+ Building.COMPILER_TEST_OPTS.append(arg) # so bitcode is optimized too, this is for cpp to ll
return
embetter = %d