aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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: