From ac8111c31525dfd523f9f99ec7629e36f1391cc8 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 2 Aug 2017 17:17:04 +0200 Subject: [PATCH] wasm tests: skip over *.asm.js files --- dist-build/emscripten-wasm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist-build/emscripten-wasm.sh b/dist-build/emscripten-wasm.sh index 2e770a81..e4196244 100755 --- a/dist-build/emscripten-wasm.sh +++ b/dist-build/emscripten-wasm.sh @@ -95,7 +95,7 @@ if [ "x$BROWSER_TESTS" != "x" ]; then rm -f browser-wasm/tests.txt && \ for file in *.js; do tname=$(echo "$file" | sed 's/.js$//') - echo "$tname" | egrep -q '[.]asm$' && continue + echo "$tname" | egrep -q '[.]asm[.]js$' && continue echo "[${tname}]" fgrep -v "#! /usr/bin/env ${NODE}" "$file" > "browser-wasm/${file}" cp -f "${tname}.exp" "browser-wasm/${tname}.exp" 2> /dev/null