[PATCH 1 of 2] run-tests: test files can be on a path

Simon Heimberg simohe at besonet.ch
Wed Jul 17 15:10:26 CDT 2013


Am 17.07.2013 21:07, schrieb Kevin Bullock:
> On 13 Jul 2013, at 5:01 PM, Simon Heimberg wrote:
>
>> # HG changeset patch
>> # User Simon Heimberg <simohe at besonet.ch>
>> # Date 1373750041 -7200
>> # Node ID ab2c53cd3dc04cda954266c54c7424cddf72c336
>> # Parent  321ec12c67636919b2c271a5f2036b2187e52340
>> run-tests: test files can be on a path
>>
>> Test files could not be in another directory than the current one because
>> the path to the file had to start with "test-". Fix this by checking the
>> test name instead of the test path.
> I thought the test suite depended on being run from within tests/ anyway?
>
> pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
> Kevin R. Bullock
Right, only some simple tests work like this. (without hghave, ...)
There could be some use when running a test from an extension. (hghave 
would be found, but no files located next to the test file.) This is not 
really an improvement, only a change.


More information about the Mercurial-devel mailing list