diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-10-17 06:59:48 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-10-17 07:40:06 -0400 |
commit | 3e3c263485d368256130d09f218dcafb3c5599f7 (patch) | |
tree | 0e5adbdb1e8c59b7b68035c7a34cea0a997e9189 /tests | |
parent | 9c4de15ed28f495a5e5f9da6fb39e39cc5863746 (diff) | |
download | python-coveragepy-git-3e3c263485d368256130d09f218dcafb3c5599f7.tar.gz |
test: fix the tests/gold/html/Makefile to copy actual output
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gold/html/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/gold/html/Makefile b/tests/gold/html/Makefile index fc3487cd..7be71f84 100644 --- a/tests/gold/html/Makefile +++ b/tests/gold/html/Makefile @@ -3,7 +3,7 @@ help: @echo "Available targets:" - @grep '^[a-zA-Z]' $(MAKEFILE_LIST) | sort | awk -F ':.*?## ' 'NF==2 {printf "\033[36m %-25s\033[0m %s\n", $$1, $$2}' + @grep '^[a-zA-Z]' $(MAKEFILE_LIST) | sort | awk -F ':.*?## ' 'NF==2 {printf " %-26s%s\n", $$1, $$2}' complete: ## Copy support files into directories so the HTML can be viewed properly. @for sub in *; do \ @@ -18,9 +18,8 @@ clean: ## Remove the effects of this Makefile. @git clean -fq . update-gold: ## Copy output files from latest tests to gold files. - echo Note: this doesn't work now, it has to be updated for tests/actual - @for sub in $$TMPDIR/coverage_test/*HtmlGoldTests*/out; do \ - rsync --verbose --existing --recursive $$sub/ . ; \ + @for sub in ../../actual/html/*; do \ + rsync --verbose --existing --recursive $$sub/ $$(basename $$sub) ; \ done ; \ true |