aboutsummaryrefslogtreecommitdiff
path: root/tests/test_sanity.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-21 12:07:52 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-02-21 12:07:52 -0800
commitef2608dc9701395be413819d56514fab410afd4f (patch)
tree370f4542056025a8247114094d135a324741b691 /tests/test_sanity.py
parent306fa23df2d683a4c6a95c603bd57b440139c092 (diff)
point to wiki page on fastcomp when using fastcomp but backend is not present
Diffstat (limited to 'tests/test_sanity.py')
-rw-r--r--tests/test_sanity.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_sanity.py b/tests/test_sanity.py
index 123c25a2..38da3988 100644
--- a/tests/test_sanity.py
+++ b/tests/test_sanity.py
@@ -199,6 +199,7 @@ class sanity(RunnerCore):
assert os.environ.get('EMCC_FAST_COMPILER') != '0', 'must be using fastcomp to test fastcomp'
WARNING = 'fastcomp in use, but LLVM has not been built with the JavaScript backend as a target'
+ WARNING2 = 'you can fall back to the older (pre-fastcomp) compiler core, although that is not recommended, see https://github.com/kripken/emscripten/wiki/LLVM-Backend'
restore()
@@ -206,6 +207,7 @@ class sanity(RunnerCore):
assert check_fastcomp()
output = self.check_working(EMCC)
assert WARNING not in output, output
+ assert WARNING2 not in output, output
# Fake incorrect llc output, no mention of js backend
restore()
@@ -222,6 +224,7 @@ class sanity(RunnerCore):
f.close()
os.chmod(path_from_root('tests', 'fake', 'llc'), stat.S_IREAD | stat.S_IWRITE | stat.S_IEXEC)
output = self.check_working(EMCC, WARNING)
+ output = self.check_working(EMCC, WARNING2)
restore()