aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-04-20 13:12:32 +0200
committerLoïc Hoguin <[email protected]>2020-04-20 13:12:32 +0200
commit921c47146b2d9567eac7e9a4d2ccc60fffd4f327 (patch)
tree49f093b3b052ea1b134d08289cf917c6549acb3b /Makefile
parentc8dc7d2da7b40226a73584feed307467d74edbf8 (diff)
downloadgun-921c47146b2d9567eac7e9a4d2ccc60fffd4f327.tar.gz
gun-921c47146b2d9567eac7e9a4d2ccc60fffd4f327.tar.bz2
gun-921c47146b2d9567eac7e9a4d2ccc60fffd4f327.zip
Update the WPT cookie tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 105de1c..93c757f 100644
--- a/Makefile
+++ b/Makefile
@@ -111,6 +111,14 @@ gen: gen-idna | $(ERLANG_MK_TMP)
$(gen_verbose) wget -qO - $(GEN_URL) > $(GEN_DAT)
$(gen_verbose) $(call erlang,$(call gen.erl))
+# Automatically update the http-state files in test/wpt/cookies.
+
+update-cookie-tests:
+ $(verbose) rm -rf $(ERLANG_MK_TMP)/wpt
+ $(verbose) rm -f test/wpt/cookies/*
+ $(verbose) git clone https://github.com/web-platform-tests/wpt $(ERLANG_MK_TMP)/wpt
+ $(verbose) cp $(ERLANG_MK_TMP)/wpt/cookies/http-state/resources/test-files/* test/wpt/cookies/
+
# Prepare for the release.
prepare_tag: