mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 15:58:56 +00:00
Tests/LibWeb: Make the WPT runner grab only the one commit it needs
This commit is contained in:
parent
036cd9b2dd
commit
99f8ac84ef
Notes:
sideshowbarker
2024-07-17 08:25:15 +09:00
Author: https://github.com/alimpfard
Commit: 99f8ac84ef
Pull-request: https://github.com/SerenityOS/serenity/pull/23263
1 changed files with 5 additions and 2 deletions
|
@ -41,10 +41,13 @@ pushd "${SCRIPT_DIR}"
|
|||
|
||||
if [ ! -d "${SCRIPT_DIR}/wpt" ]; then
|
||||
# Clone patched web-platform-tests repository
|
||||
git clone --depth 10000 https://github.com/web-platform-tests/wpt.git
|
||||
mkdir wpt
|
||||
git -C wpt init
|
||||
git -C wpt remote add origin https://github.com/web-platform-tests/wpt.git
|
||||
|
||||
# Switch to the commit that was used to generate tests expectations. Requires periodic updates.
|
||||
git -C wpt checkout eedf737ce39c512d0ca3471f988972e3ece11822
|
||||
git -C wpt fetch --depth 1 origin eedf737ce39c512d0ca3471f988972e3ece11822
|
||||
git -C wpt checkout FETCH_HEAD
|
||||
|
||||
git apply 0001-tools-Pass-product-name-to-update-metadata-fallback-.patch
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue