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:
parent
13c1514889
commit
0e4431af33
5 changed files with 54 additions and 35 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue