From 93a1c45eb213b2aed08922c5d79a9a9014e39434 Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Mon, 9 Dec 2024 11:39:05 +0000 Subject: [PATCH] Meta: Don't halt if importing a test fails in `WPT.sh` --- Meta/WPT.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Meta/WPT.sh b/Meta/WPT.sh index 263e043a8f82..1f2eb1e9f060 100755 --- a/Meta/WPT.sh +++ b/Meta/WPT.sh @@ -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 }