mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-03 06:40:05 +00:00
Meta: Don't halt if importing a test fails in WPT.sh
This commit is contained in:
parent
cb8a1f6bb6
commit
93a1c45eb2
Notes:
github-actions[bot]
2024-12-11 23:31:21 +00:00
Author: https://github.com/tcl3
Commit: 93a1c45eb2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2848
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/shlyakpavel
Reviewed-by: https://github.com/sideshowbarker
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue