Skip to content

Commit 183bfb9

Browse files
authored
Look for bin/binaryen_js.js directly, instead of expecting us to copy it. (#2508)
1 parent 247884e commit 183bfb9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/test/shared.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,9 @@ def is_exe(fpath):
184184
WASM_METADCE = [os.path.join(options.binaryen_bin, 'wasm-metadce')]
185185
WASM_EMSCRIPTEN_FINALIZE = [os.path.join(options.binaryen_bin,
186186
'wasm-emscripten-finalize')]
187-
BINARYEN_JS = os.path.join(options.binaryen_root, 'out', 'binaryen.js')
187+
# Due to cmake limitations, we emit binaryen_js.js (see CMakeLists.txt
188+
# for why).
189+
BINARYEN_JS = os.path.join(options.binaryen_bin, 'binaryen_js.js')
188190

189191

190192
def wrap_with_valgrind(cmd):

travis-emcc-tests.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ set -e
44
echo "travis-test build"
55
emconfigure cmake -DCMAKE_BUILD_TYPE=Release
66
emmake make -j4 binaryen_js
7-
mkdir -p out
8-
cp bin/binaryen_js.js out/binaryen.js
97
echo "travis-test test"
108
python3 -m scripts.test.binaryenjs
119
echo "travis-test yay!"

0 commit comments

Comments
 (0)