Provide a list of failed tests.
authorPhilipp Marek <philipp@marek.priv.at>
Sun, 23 Feb 2014 10:21:43 +0000 (11:21 +0100)
committerPhilipp Marek <philipp@marek.priv.at>
Sun, 23 Feb 2014 10:21:43 +0000 (11:21 +0100)
README.1st
src/tests/Makefile.in

index 54f3093..bcc88f7 100644 (file)
@@ -7,8 +7,11 @@ About testing:
 make check
        to (get, initialize and) run the tests
 
-make -C build/tests do-regressions 
+make -C build/tests do-regressions
 make -C build/tests do-ansi
 make -C build/tests do-quicklisp
 make -C build/tests do-mop-tests
        runs the specified tests
+
+make -C build/tests/ show-fails
+       prints results
index 0690050..7d4c513 100755 (executable)
@@ -6,8 +6,10 @@ all: output.ecl/ansi.log output.ecl/regressions.log
 
 output.ecl/ansi.log: config.lsp
        $(MAKE) do-ansi
+       $(MAKE) show-fails
 output.ecl/regressions.log: config.lsp
        $(MAKE) do-regressions
+       $(MAKE) show-fails
 
 do-ansi: ansi-tests config.lsp
        $(ECL) -norc -load config.lsp -eval '(ecl-tests::run-ansi-tests)' -eval '(ext:quit)' < /dev/null
@@ -18,6 +20,9 @@ do-quicklisp: quicklisp config.lsp
 do-mop-tests: mop-features config.lsp
        $(ECL) -norc -load config.lsp -eval '(ecl-tests::run-mop-tests)' -eval '(ext:quit)' < /dev/null
 
+show-fails:
+       grep "^Test .* failed" output.ecl/ansi.log output.ecl/regressions.log
+
 #
 # Create directories
 #