aboutsummaryrefslogtreecommitdiff
path: root/tests/test_sanity.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-21 11:57:30 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-02-21 11:57:30 -0800
commit91745dd0c857bfe52100ea2876325af85fb7b016 (patch)
tree1fbe97776d9b06b7d1b3817b7dda1f8370db5065 /tests/test_sanity.py
parentd484101045f135b226bc3c1d3b4948baa356b124 (diff)
add message pointing people to the fastcomp wiki page that explains how to disable it, when a compiler setting is not fastcomp-compatible
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'