summaryrefslogtreecommitdiff
path: root/tests/gold/html
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-10-14 09:07:46 -0400
committerNed Batchelder <ned@nedbatchelder.com>2019-10-14 09:27:24 -0400
commit4de5710540d6a0a5a94992e8413aba6e2d7d7f03 (patch)
tree7f1b810871a12ceb1a3a8be00ae27a07bba5c94a /tests/gold/html
parent42182f91c75ed8afdfc08812f60494958ef18d1e (diff)
downloadpython-coveragepy-git-4de5710540d6a0a5a94992e8413aba6e2d7d7f03.tar.gz
More convenient gold file structure
Diffstat (limited to 'tests/gold/html')
-rw-r--r--tests/gold/html/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/gold/html/Makefile b/tests/gold/html/Makefile
index ef870fc9..fa98714e 100644
--- a/tests/gold/html/Makefile
+++ b/tests/gold/html/Makefile
@@ -17,5 +17,11 @@ complete: ## Copy support files into directories so the HTML can be viewed prop
clean: ## Remove the effects of this Makefile.
git clean -fq .
+update-gold: ## Copy output files from latest tests to gold files.
+ @for sub in $$TMPDIR/coverage_test/*HtmlGoldTests*/out; do \
+ rsync --verbose --existing --recursive $$sub/ . ; \
+ done ; \
+ true
+
update-support: ## Copy latest support files here for posterity.
cp ../../../coverage/htmlfiles/*.{css,js,png} support