Bob Chapman wrote on Mon, Aug 20, 2012 at 10:32:01 -0500:
> Daniel -
> 
>  > Check 'make -n install | grep dontdothat'.
> 
> In the 'patched' 1.7.6 version:
> 
>   $ make -n install | grep dontdothat
>   $
> 

That's the expected/bug-free output.

>  > (There is a longer answer telling you about . . .
> 
> Which I'm probably not smart enough to understand. <grin>
> 
> It didn't cross my mind to run 'make check' until _after_ my previous
> post -- someday I may learn to think twice before posting. ;(
> 
> On Unbuntu 10.04 LTS, the 87/87 'success' reports looked good but I
> haven't figured out what to make of the subsequent string of 'SKIP' and
> 'X-FAIL' messages or the summary:
> 
>   Summary of test results:
>     1583 tests PASSED
>     46 tests SKIPPED
>     22 tests XFAILED (1 WORK-IN-PROGRESS)
> 

That's "ALL TESTS SUCCESSFUL".

Maybe we should print a one-bit summary like that at the end of the run?

% svn di -x-p build/run_tests.py
Index: build/run_tests.py
===================================================================
--- build/run_tests.py  (revision 1349313)
+++ build/run_tests.py  (working copy)
@@ -316,6 +316,12 @@ class TestHarness:
       print("WARNING: no failures, but '%s' exists from a previous run."
             % self.faillogfile)
 
+    # Summary.
+    if xpassed or failed_list:
+      print("SUMMARY: All tests successful\n")
+    else:
+      print("SUMMARY: Some tests failed.\n")
+
     self._close_log()
     return failed

Reply via email to