Skip to content

Commit

Permalink
Meta: Don't halt if importing a test fails in WPT.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tcl3 authored and ADKaster committed Dec 11, 2024
1 parent cb8a1f6 commit 93a1c45
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Meta/WPT.sh
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,15 @@ import_wpt()

pushd "${LADYBIRD_SOURCE_DIR}" > /dev/null
./Meta/ladybird.sh build headless-browser
set +e
for path in "${TESTS[@]}"; do
echo "Importing test from ${path}"
./Meta/import-wpt-test.py https://wpt.live/"${path}"
if [ ! "$(./Meta/import-wpt-test.py https://wpt.live/"${path}")" ]; then
continue
fi
"${HEADLESS_BROWSER_BINARY}" --run-tests ./Tests/LibWeb --rebaseline -f "$path"
done
set -e
popd > /dev/null
}

Expand Down

0 comments on commit 93a1c45

Please sign in to comment.