aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-27 17:12:51 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-06-27 17:12:51 -0700
commitc600d4a52ae072d389aef7c0ea9796475c556337 (patch)
tree62ca18c9e19ab3d46e15f25bb28c00c85a5a9a86
parent91df7b54f40d1c5aaf36c84774b8a444c176b8f5 (diff)
pass -s K=V values into test runner properly
-rwxr-xr-xtests/runner.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index e785caad..91e3883f 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -10047,6 +10047,12 @@ class %s(T):
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
+ else:
+ try:
+ key, value = arg.split('=')
+ Settings[key] = value # forward -s K=V
+ except:
+ pass
return
embetter = %d