summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--tests/gold/html/Makefile7
2 files changed, 4 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index c8b41f49..d4879568 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,6 +34,7 @@ setuptools-*.egg
covmain.zip
zipmods.zip
zip1.zip
+tests/actual
# Stuff in the doc directory.
doc/_build
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