[PATCH 3 of 5] run-tests: do not fail when the path sep does not match on windows

Simon Heimberg simohe at besonet.ch
Wed Jul 17 17:27:02 CDT 2013


Am 17.07.2013 21:19, schrieb Kevin Bullock:
> On 13 Jul 2013, at 5:25 PM, Simon Heimberg wrote:
>
>> # HG changeset patch
>> # User Simon Heimberg <simohe at besonet.ch>
>> # Date 1373752948 -7200
>> # Node ID d9fa7503933a2491fc1bb0d2f5c921655d8f9f37
>> # Parent  9baf643dca269dde0791972e6f4f092b1913ee2d
>> run-tests: do not fail when the path sep does not match on windows
>>
>> Instead of failing the test when \ instead of / is returned, only print a
>> warning.
>> Like this writing test output is less delicate. And we do not loose any
>> information when running the test.
>>
>> Output example:
>> ...
>> info, missing glob in test test-example.t (after line 5): moving x/y/z
> I note this doesn't match the capitalization of our other "Info" message.
True.
>
> I'd also really like to get confirmation of a test run on Windows before queuing these... (and I don't have a VM handy...)
Agree. Who could do the test before?
I prepare some doctest to test matching and warnings.
>
> pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
> Kevin R. Bullock



More information about the Mercurial-devel mailing list