Skip to content

Commit 146bd5f

Browse files
committed
add -O1 testing for embind
1 parent 45ba35a commit 146bd5f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/runner.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -7696,10 +7696,11 @@ def test_scons(self): # also incidentally tests c++11 integration in llvm 3.1
76967696
assert 'If you see this - the world is all right!' in output
76977697

76987698
def test_embind(self):
7699-
# TODO: test -O1 and -O2
77007699
for args, fail in [
77017700
([], True), # without --bind, we fail
7702-
(['--bind'], False)
7701+
(['--bind'], False),
7702+
(['--bind', '-O1'], False)
7703+
# XXX TODO (['--bind', '-O2'], False)
77037704
]:
77047705
print args, fail
77057706
try_delete(self.in_dir('a.out.js'))

0 commit comments

Comments
 (0)