aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-10-13 16:54:43 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-10-13 17:02:44 -0700
commit146bd5ff9a69b156c5dd01c513bb16cd312bc372 (patch)
tree886b7b4984626d4ade4365dd9f1e0c55c26b915c /tests
parent45ba35aa01f1650ed28479976262236bbf204ef1 (diff)
add -O1 testing for embind
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runner.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 0c677b58..451ecdaf 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -7696,10 +7696,11 @@ f.close()
assert 'If you see this - the world is all right!' in output
def test_embind(self):
- # TODO: test -O1 and -O2
for args, fail in [
([], True), # without --bind, we fail
- (['--bind'], False)
+ (['--bind'], False),
+ (['--bind', '-O1'], False)
+ # XXX TODO (['--bind', '-O2'], False)
]:
print args, fail
try_delete(self.in_dir('a.out.js'))