mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:57:35 +00:00
Tests: Add patch to WPT to let our metadata update script work again
This commit is contained in:
parent
52f1eaefa0
commit
e64aa7da7a
2 changed files with 24 additions and 0 deletions
|
@ -46,6 +46,8 @@ if [ ! -d "${SCRIPT_DIR}/wpt" ]; then
|
|||
# Switch to the commit that was used to generate tests expectations. Requires periodic updates.
|
||||
git -C wpt checkout eedf737ce39c512d0ca3471f988972e3ece11822
|
||||
|
||||
git apply 0001-tools-Pass-product-name-to-update-metadata-fallback-.patch
|
||||
|
||||
# Update hosts file if needed
|
||||
if [ "$(comm -13 <(sort -u /etc/hosts) <(python3 ./wpt/wpt make-hosts-file | sort -u) | wc -l)" -gt 0 ]; then
|
||||
echo "Enter superuser password to append wpt hosts to /etc/hosts"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue