From cd5c901120301fe26d2f45deaec89fa7973a62e5 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Thu, 4 Jan 2007 20:23:52 +0100 Subject: [PATCH] new test targets. --- Documentation/topdocs/INSTALL.texi | 8 ++++---- GNUmakefile.in | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Documentation/topdocs/INSTALL.texi b/Documentation/topdocs/INSTALL.texi index 0dc4d36e2d..d87936ce3d 100644 --- a/Documentation/topdocs/INSTALL.texi +++ b/Documentation/topdocs/INSTALL.texi @@ -165,19 +165,19 @@ change. This is done as follows @example make test-baseline - @emph{apply your changes, compile} + @emph{## apply your changes, compile} make check @end example This will leave an HTML page @file{out/test-results/index.html}. This page shows all the important differences that your change introduced, -whether in the layout, the MIDI output, or error reporting. +whether in the layout, MIDI, performance or error reporting. To rerun tests, use @example - make test-clean @emph{## remove files differing from baseline} - make test-real-clean @emph{## remove all test results} + make test-redo @emph{## redo files differing from baseline} + make test-clean @emph{## remove all test results} @end example @noindent diff --git a/GNUmakefile.in b/GNUmakefile.in index b7a2421caf..28a34a003b 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -222,8 +222,9 @@ local-check: test $(PYTHON) $(buildscript-dir)/output-distance.py --create-images --output-dir $(RESULT_DIR) input/regression/out-test-baseline input/regression/out-test/ -test-clean: +test-redo: $(PYTHON) $(buildscript-dir)/output-distance.py --remove-changed input/regression/out-test-baseline input/regression/out-test/ + $(MAKE) check -test-real-clean: +test-clean: $(MAKE) -C input/regression/ out=test clean -- 2.39.2