summaryrefslogtreecommitdiff
path: root/tests/gold/README.rst
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gold/README.rst')
-rw-r--r--tests/gold/README.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/gold/README.rst b/tests/gold/README.rst
index 5d946fe1..85f6931a 100644
--- a/tests/gold/README.rst
+++ b/tests/gold/README.rst
@@ -12,7 +12,16 @@ environment variable. If set, the test working directories at
$TMPDIR/coverage_test are kept after the tests are run, so that you can
manually inspect the differences.
+Do this to clean the output directories and run only the failed tests while
+keeping the output::
+
+ make clean; COVERAGE_KEEP_TMP=1 tox -e py37 -- --lf
+
The saved HTML files in the html directories can't be viewed properly without
the supporting CSS and Javascript files. But we don't want to save copies of
those files in every subdirectory. There's a Makefile in the html directory
for working with the saved copies of the support files.
+
+If the output files are correct, you can update the gold files with "make
+update-gold". If there are version-specific gold files (for example,
+bom/2/\*), you'll need to update them manually.