diff tests/test-run-tests.t @ 36461:51a9f0246931

run-tests: resume raising an exception when a server fails to start Prior to 93228b2a1fc0, this exception was raised before the diff could be printed. By raising the exception after printing the diff, the location of the failure can be identified, but it is also easier to locate test runs where this occurs. The test bot maintains a list of failed tests, separate from the wall of diff output.
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 26 Feb 2018 23:34:29 -0500
parents 93228b2a1fc0
children a247a0e82e7d
line wrap: on
line diff
--- a/tests/test-run-tests.t	Tue Feb 27 14:49:05 2018 +0530
+++ b/tests/test-run-tests.t	Mon Feb 26 23:34:29 2018 -0500
@@ -541,7 +541,7 @@
   >   $ echo 'abort: child process failed to start blah'
   > EOF
   $ rt test-serve-fail.t
-  server failed to start (HGPORT=*) (glob)
+  
   --- $TESTTMP/test-serve-fail.t
   +++ $TESTTMP/test-serve-fail.t.err
   @@ -1* +1,2 @@ (glob)
@@ -550,7 +550,7 @@
   
   ERROR: test-serve-fail.t output changed
   !
-  Failed test-serve-fail.t: output changed
+  Failed test-serve-fail.t: server failed to start (HGPORT=*) (glob)
   # Ran 1 tests, 0 skipped, 1 failed.
   python hash seed: * (glob)
   [1]