diff options
-rwxr-xr-x | check.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -111,7 +111,11 @@ def fetch_waterfall(): print '(noting local revision)' open(os.path.join('test', 'local-revision'), 'w').write(rev) +def setup_waterfall(): + os.environ['LLVM'] = os.path.abspath(os.path.join(WATERFALL_BUILD, 'llvm-install', 'bin')) + fetch_waterfall() +setup_waterfall() # tests @@ -357,7 +361,7 @@ for c in sorted(os.listdir(os.path.join('test', 'wasm_backend'))): expected = open(os.path.join('test', 'wasm_backend', base + '.txt')).read() command = [os.path.join('test', 'emscripten', 'emcc'), '-o', 'a.wasm.js', '-s', 'BINARYEN="' + os.getcwd() + '"', os.path.join('test', 'wasm_backend', c), '-O1', '-s', 'WASM_BACKEND=1', '-s', 'ONLY_MY_CODE=1'] print '....' + ' '.join(command) - subprocess.check_call(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + subprocess.check_call(command) if has_node: proc = subprocess.Popen(['nodejs', 'a.wasm.js'], stdout=subprocess.PIPE) out, err = proc.communicate() |