aboutsummaryrefslogtreecommitdiff
path: root/tests/test_sanity.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_sanity.py')
-rw-r--r--tests/test_sanity.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_sanity.py b/tests/test_sanity.py
index 4e01add8..34f98fde 100644
--- a/tests/test_sanity.py
+++ b/tests/test_sanity.py
@@ -223,6 +223,10 @@ class sanity(RunnerCore):
os.chmod(path_from_root('tests', 'fake', 'llc'), stat.S_IREAD | stat.S_IWRITE | stat.S_IEXEC)
output = self.check_working(EMCC, WARNING)
+ restore()
+
+ self.check_working([EMCC, 'tests/hello_world.cpp', '-s', 'INIT_HEAP=1'], '''Compiler settings are incompatible with fastcomp. You can fall back to the older compiler core, although that is not recommended, see https://github.com/kripken/emscripten/wiki/LLVM-Backend''')
+
def test_node(self):
NODE_WARNING = 'node version appears too old'
NODE_WARNING_2 = 'cannot check node version'