From 19fa7c8e14844f7a25c2ef143cb89464d639c8a9 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 15 Jan 2016 19:45:55 -0800 Subject: make sure a.wasm.js is emitted by the backend tests --- check.py | 1 + 1 file changed, 1 insertion(+) (limited to 'check.py') diff --git a/check.py b/check.py index c87b94651..eb75b4585 100755 --- a/check.py +++ b/check.py @@ -369,6 +369,7 @@ try: 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', 'ONLY_MY_CODE=1'] print '....' + ' '.join(command) + if os.path.exists('a.wasm.js'): os.unlink('a.wasm.js') subprocess.check_call(command) if has_node: print ' (check in node)' -- cgit v1.2.3