mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 13:18:19 +00:00
Meta: Ensure WPT repository exists before attempting to import tests
Previously, importing tests would fail if the WPT repository wasn't already cloned.
This commit is contained in:
parent
3e4a1cbd55
commit
138eabcf0d
Notes:
github-actions[bot]
2025-07-30 20:48:18 +00:00
Author: https://github.com/tcl3
Commit: 138eabcf0d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5658
Reviewed-by: https://github.com/gmta ✅
1 changed files with 2 additions and 0 deletions
|
@ -672,6 +672,8 @@ list_tests_wpt()
|
|||
|
||||
import_wpt()
|
||||
{
|
||||
ensure_wpt_repository
|
||||
|
||||
pushd "${WPT_SOURCE_DIR}" > /dev/null
|
||||
if ! git fetch origin > /dev/null; then
|
||||
echo "Failed to fetch the WPT repository, please check your network connection."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue