summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-01-20 12:12:09 -0800
committerAlon Zakai <alonzakai@gmail.com>2016-01-20 12:59:12 -0800
commitf7101c51ae61b52ba56e4240a649cb0a1582e990 (patch)
tree677ecaaecec4d8d654eccea1a6d4efb195d749e9
parent13548a538ae581411841506884c28f1be223079c (diff)
downloadbinaryen-f7101c51ae61b52ba56e4240a649cb0a1582e990.tar.gz
binaryen-f7101c51ae61b52ba56e4240a649cb0a1582e990.tar.bz2
binaryen-f7101c51ae61b52ba56e4240a649cb0a1582e990.zip
further fix for not having vanilla llvm workable locally
-rwxr-xr-xcheck.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/check.py b/check.py
index d3a318d9a..72f9bd46c 100755
--- a/check.py
+++ b/check.py
@@ -421,8 +421,9 @@ if has_vanilla_emcc:
if out.strip() != expected.strip():
fail(out, expected)
finally:
- del os.environ['LLVM']
- if not has_vanilla_llvm:
+ if has_vanilla_llvm:
+ del os.environ['LLVM']
+ else:
del os.environ['EMCC_WASM_BACKEND']
print '\n[ checking example testcases... ]\n'