diff options
author | juj <jujjyl@gmail.com> | 2014-04-10 00:38:55 +0300 |
---|---|---|
committer | juj <jujjyl@gmail.com> | 2014-04-10 00:38:55 +0300 |
commit | e52c99365d82dd3a51c49302ba4af1115432e3d5 (patch) | |
tree | 67a3455d6afb67fb958a8d51236edc01297fbb56 /tests/test_other.py | |
parent | 158e8c4ac12f8a602a70a5d371a48d079758a1de (diff) | |
parent | b239fb1ed3d91bd98ddafa1bfd6af6a57daa32ca (diff) |
Merge pull request #2279 from juj/test_bad_triple
Fix other.test_bad_triple.
Diffstat (limited to 'tests/test_other.py')
-rw-r--r-- | tests/test_other.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_other.py b/tests/test_other.py index aae399c8..854f88b1 100644 --- a/tests/test_other.py +++ b/tests/test_other.py @@ -2577,7 +2577,7 @@ int main() assert 'asm.js' in output, 'spidermonkey should mention asm.js compilation: ' + output def test_bad_triple(self): - Popen([CLANG, path_from_root('tests', 'hello_world.c'), '-c', '-emit-llvm', '-o', 'a.bc'], stdout=PIPE, stderr=PIPE).communicate() + Popen([CLANG, path_from_root('tests', 'hello_world.c'), '-c', '-emit-llvm', '-o', 'a.bc'] + get_clang_native_args(), stdout=PIPE, stderr=PIPE).communicate() out, err = Popen([PYTHON, EMCC, 'a.bc'], stdout=PIPE, stderr=PIPE).communicate() assert 'warning' in err, err assert 'incorrect target triple' in err, err |