Meta: Don't halt if importing a test fails in WPT.sh

This commit is contained in:
Tim Ledbetter 2024-12-09 11:39:05 +00:00 committed by Andrew Kaster
parent cb8a1f6bb6
commit 93a1c45eb2
Notes: github-actions[bot] 2024-12-11 23:31:21 +00:00

View file

@ -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
}