mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 14:19:48 +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
Notes:
sideshowbarker
2024-07-18 17:19:19 +09:00
Author: https://github.com/alimpfard
Commit: 0e4431af33
Pull-request: https://github.com/SerenityOS/serenity/pull/7482
Reviewed-by: https://github.com/ADKaster
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