diff options
author | Loïc Hoguin <[email protected]> | 2020-04-20 13:12:32 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2020-04-20 13:12:32 +0200 |
commit | 921c47146b2d9567eac7e9a4d2ccc60fffd4f327 (patch) | |
tree | 49f093b3b052ea1b134d08289cf917c6549acb3b /Makefile | |
parent | c8dc7d2da7b40226a73584feed307467d74edbf8 (diff) | |
download | gun-921c47146b2d9567eac7e9a4d2ccc60fffd4f327.tar.gz gun-921c47146b2d9567eac7e9a4d2ccc60fffd4f327.tar.bz2 gun-921c47146b2d9567eac7e9a4d2ccc60fffd4f327.zip |
Update the WPT cookie tests
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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: |