aboutsummaryrefslogtreecommitdiff
path: root/tests/test_other.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-12-30 16:59:01 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-12-30 16:59:01 -0800
commit8468d6fa554177cac7b28a35e3160ec2bfba5f67 (patch)
treeb06282ef68e13bc9ab501cd11b03cb4c8e541865 /tests/test_other.py
parent094cbfd615be4eaa3222ab08b87ea3719a3089ea (diff)
fix --save-bc in fastcomp
Diffstat (limited to 'tests/test_other.py')
-rw-r--r--tests/test_other.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_other.py b/tests/test_other.py
index 1986582b..b2c36433 100644
--- a/tests/test_other.py
+++ b/tests/test_other.py
@@ -463,6 +463,7 @@ f.close()
assert 'function _malloc' in src
def test_dangerous_func_cast(self):
+ if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo in fastcomp')
src = r'''
#include <stdio.h>
typedef void (*voidfunc)();
@@ -1791,6 +1792,7 @@ f.close()
assert 'If you see this - the world is all right!' in output
def test_embind(self):
+ if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo in fastcomp')
for args, fail in [
([], True), # without --bind, we fail
(['--bind'], False),
@@ -1856,6 +1858,8 @@ seeked= file.
assert output == invalid
def test_link_s(self):
+ if os.environ.get('EMCC_FAST_COMPILER') == '1': return self.skip('todo safe heap in fastcomp')
+
# -s OPT=VALUE can conflict with -s as a linker option. We warn and ignore
open(os.path.join(self.get_dir(), 'main.cpp'), 'w').write(r'''
extern "C" {