diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-04-09 15:22:18 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-04-09 15:22:18 -0700 |
commit | 0fa67a6cdc857afd269612117380d0df7ab54b4e (patch) | |
tree | 1609128e24aaeae619e53d40fdc6d8822cecca30 | |
parent | f65946188bd0de143809f3dc10ba1c65b4822fe1 (diff) | |
parent | f012ed96086198536f0ce1af4f8dda250d9b85b5 (diff) |
Merge pull request #2276 from juj/test_odin_validation
other.test_odin_validation
-rw-r--r-- | tests/test_other.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_other.py b/tests/test_other.py index 3e6f1bfb..16b5ab92 100644 --- a/tests/test_other.py +++ b/tests/test_other.py @@ -2570,6 +2570,7 @@ int main() assert p.returncode == 0, 'LLVM tests must pass with exit code 0' def test_odin_validation(self): + if not SPIDERMONKEY_ENGINE or SPIDERMONKEY_ENGINE not in JS_ENGINES: return self.skip('this test tests asm.js validation in SpiderMonkey') Popen([PYTHON, EMCC, path_from_root('tests', 'hello_world.c'), '-O1'], stdout=PIPE, stderr=PIPE).communicate() output = run_js('a.out.js', stderr=PIPE, full_output=True, engine=SPIDERMONKEY_ENGINE) assert 'asm.js' in output, 'spidermonkey should mention asm.js compilation: ' + output |