1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:47:35 +00:00

Meta: Run the Wasm spec tests in CI

Since LibWasm is still not capable of passing all of the spec tests,
ignore failing tests, only fail the build if some segfault/abort/etc
occurs.
This commit is contained in:
Ali Mohammad Pur 2021-05-26 23:04:52 +04:30 committed by Ali Mohammad Pur
parent 13c1514889
commit 0e4431af33
5 changed files with 54 additions and 35 deletions

View file

@ -13,4 +13,9 @@ MODULE_OUTPUT_PATH="$4"
mkdir -p "$OUTPUT_PATH"
mkdir -p "$MODULE_OUTPUT_PATH"
python3 "$(dirname "$0")/generate-libwasm-spec-test.py" "$INPUT_FILE" "$NAME" "$MODULE_OUTPUT_PATH" | prettier --stdin-filepath "test-$NAME.js" > "$OUTPUT_PATH/$NAME.js"
python3 "$(dirname "$0")/generate-libwasm-spec-test.py" "$INPUT_FILE" "$NAME" "$MODULE_OUTPUT_PATH" |\
if $SKIP_PRETTIER; then
cat
else
prettier --stdin-filepath "test-$NAME.js"
fi > "$OUTPUT_PATH/$NAME.js"