summaryrefslogtreecommitdiff
path: root/scripts/test
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test')
-rw-r--r--scripts/test/shared.py3
-rw-r--r--scripts/test/wasm_opt.py21
2 files changed, 0 insertions, 24 deletions
diff --git a/scripts/test/shared.py b/scripts/test/shared.py
index 8fdf2375c..75dece375 100644
--- a/scripts/test/shared.py
+++ b/scripts/test/shared.py
@@ -192,9 +192,6 @@ def which(program):
return exe_file + '.bat'
-WATERFALL_BUILD_DIR = os.path.join(options.binaryen_test, 'wasm-install')
-BIN_DIR = os.path.abspath(os.path.join(WATERFALL_BUILD_DIR, 'wasm-install', 'bin'))
-
NATIVECC = (os.environ.get('CC') or which('mingw32-gcc') or
which('gcc') or which('clang'))
NATIVEXX = (os.environ.get('CXX') or which('mingw32-g++') or
diff --git a/scripts/test/wasm_opt.py b/scripts/test/wasm_opt.py
index bc4706906..9695eadca 100644
--- a/scripts/test/wasm_opt.py
+++ b/scripts/test/wasm_opt.py
@@ -124,16 +124,6 @@ def test_wasm_opt():
print('\n[ checking wasm-opt debugInfo read-write... ]\n')
- for t in shared.get_tests(shared.options.binaryen_test, ['.fromasm']):
- if 'debugInfo' not in t:
- continue
- print('..', os.path.basename(t))
- f = t + '.read-written'
- support.run_command(shared.WASM_AS + [t, '--source-map=a.map', '-o', 'a.wasm', '-g'])
- support.run_command(shared.WASM_OPT + ['a.wasm', '--input-source-map=a.map', '-o', 'b.wasm', '--output-source-map=b.map', '-g'])
- actual = support.run_command(shared.WASM_DIS + ['b.wasm', '--source-map=b.map'])
- shared.fail_if_not_identical_to_file(actual, f)
-
def update_wasm_opt_tests():
print('\n[ checking wasm-opt -o notation... ]\n')
@@ -203,17 +193,6 @@ def update_wasm_opt_tests():
actual = actual.replace('printing before:\n', '')
open(f, 'w').write(actual)
- print('\n[ checking wasm-opt debugInfo read-write... ]\n')
- for t in shared.get_tests(shared.options.binaryen_test, ['.fromasm']):
- if 'debugInfo' not in t:
- continue
- print('..', os.path.basename(t))
- f = t + '.read-written'
- support.run_command(shared.WASM_AS + [t, '--source-map=a.map', '-o', 'a.wasm', '-g'])
- support.run_command(shared.WASM_OPT + ['a.wasm', '--input-source-map=a.map', '-o', 'b.wasm', '--output-source-map=b.map', '-g'])
- actual = support.run_command(shared.WASM_DIS + ['b.wasm', '--source-map=b.map'])
- open(f, 'w').write(actual)
-
print('\n[ checking binary format testcases... ]\n')
for wast in shared.get_tests(shared.options.binaryen_test, ['.wast']):
for debug_info in [0, 1]: