File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2424 run : |
2525 echo "Build script for wasm"
2626 playwright install
27- ./test/test_wasm/test_wasm.sh
27+ ./test/test_wasm/test_wasm.sh 4.0.21
Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ SRC_DIR=$TEST_WASM_DIR/../..
88
99# the emsdk dir can be passed as optional argument
1010# if not passed, it will be downloaded in the current dir
11- if [ $# -eq 0 ]
11+ if [ $# -eq 0 -o ! -d " $1 " ]
1212then
13+ EMSCRIPTEN_VERSION=${1:- latest}
1314 git clone https://github.com/emscripten-core/emsdk
1415 cd emsdk
15- ./emsdk install latest
16- ./emsdk activate latest
16+ ./emsdk install ${EMSCRIPTEN_VERSION}
17+ ./emsdk activate ${EMSCRIPTEN_VERSION}
1718 source ./emsdk_env.sh
18-
1919else
2020 EMSCRIPTEN_DIR=$1
2121 source $EMSCRIPTEN_DIR /emsdk_env.sh
@@ -40,4 +40,4 @@ emmake make -j4
4040cd ..
4141
4242# run tests in browser
43- python $TEST_WASM_DIR /test_wasm_playwright.py build/test
43+ python $TEST_WASM_DIR /test_wasm_playwright.py build/test
You can’t perform that action at this time.
0 commit comments