Revision 750cfaf984c93f0cc80cf28110fe0c6333fcfbb4 authored by Tarun Bansal on 15 March 2018, 17:56:27 UTC, committed by Blink WPT Bot on 15 March 2018, 18:14:49 UTC
Also, add tests for other client hints. Finally. use the built-in sub pipe to enable running the cross-origin test. Bug: 817049 Change-Id: Ib4155f50e0ffd3a0447cf250cd4018b650f3b419 Reviewed-on: https://chromium-review.googlesource.com/963403 Commit-Queue: Tarun Bansal <tbansal@chromium.org> Reviewed-by: Robert Ma <robertma@chromium.org> Cr-Commit-Position: refs/heads/master@{#543433}
1 parent d56bf78
Makefile
HTML2MARKDOWN=html2text
PERL=perl
PERLFLAGS=
FMT=fmt
FMTFLAGS=-80
EXPAND=expand
EXPANDFLAGS=
GIT=git
GITFLAGS=
PYTHON=python
PYTHONFLAGS=
VNU_TEST_REPO=git@github.com:validator/tests.git
ITS_REPO=git@github.com:w3c/its-2.0-testsuite-inputdata.git
.PHONY: .FORCE
all: README.md messages.json
README.md: index.html
$(HTML2MARKDOWN) $(HTML2MARKDOWNFLAGS) $< \
| $(PERL) $(PERLFLAGS) -pe 'undef $$/; s/(\s+\n)+/\n\n/g' \
| $(PERL) $(PERLFLAGS) -pe 'undef $$/; s/(\n\n\n)+/\n/g' \
| $(FMT) $(FMTFLAGS) \
| $(PERL) $(PERLFLAGS) -pe 'undef $$/; s/ +(\[[0-9]+\]:)\n +/\n $$1 /g' \
| $(EXPAND) $(EXPANDFLAGS) > $@
messages.json: .FORCE
$(PYTHON) $(PYTHONFLAGS) -mjson.tool $@ > $@.tmp
mv $@.tmp $@
push:
cd .. \
&& git push $(VNU_TEST_REPO) `git subtree split -P conformance-checkers`:master --force \
&& cd -
its-push:
cd ..\
&& $(GIT) subtree push -P conformance-checkers/html-its/ $(ITS_REPO) master \
&& cd -
its-pull:
cd .. \
&& $(GIT) pull -s subtree $(ITS_REPO) master \
&& cd -
Computing file changes ...