aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-01-23 14:55:24 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-01-23 14:55:24 -0800
commit2080d7dd4d0db1d5ecfd9d49151bda3c9c008c5d (patch)
treefd0f00e279f28dc1b512c41e740682d9ce965795
parent71360ca6a75bfa2f3c9bdb09ad14817c88507a8b (diff)
fix test_typeinfo
-rwxr-xr-xtests/runner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 201db38c..cf2e23f7 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -4790,6 +4790,8 @@ Child2:9
''', post_build=post2)
def test_typeinfo(self):
+ if self.emcc_args is not None and self.emcc_args != []: return self.skip('full LLVM opts optimize out all the code that uses the type')
+
Settings.RUNTIME_TYPE_INFO = 1
if Settings.QUANTUM_SIZE != 4: return self.skip('We assume normal sizes in the output here')