[PATCH 0 of 5] run-tests improved and only warns on winpath mismatch

Simon Heimberg simohe at besonet.ch
Sat Jul 13 17:25:10 CDT 2013


[Patch 1] and [2] are some changes on run-tests the other patches depend on.
(On [1] only for consistency.)

[Patch 3] changes the output checking on windows. Non-matching path separators 
(\ instead of /) are not reported as a failure. Only a warning is printed. This 
makes it easier to write tests which do not fail on windows. But when we check 
the run output we still can properly rewrite the output.
This is a new suggestion after thinking about the points listed here:
http://mercurial.selenic.com/wiki/PathSeparator#Tests

[Patch 4] is a precondition to the next patch.
[Patch 5] helps to locate output lines with unnecessary glob matching. It 
extends a current message with test and approximative line no. (The 
line no is the one of the command producing the output.)


Testing only done on linux.


More information about the Mercurial-devel mailing list