Re: [PATCH/RFC] t0000-*.sh: Fix the GIT_SKIP_TESTS sub-tests
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- May 20, 2014, 22:44 UTC
- Message-ID
- <20140520224427.GU12314@google.com>
- In-Reply-To
- <537BD514.4040708@ramsay1.demon.co.uk>
Hi,
Ramsay Jones wrote:
> On 20/05/14 22:40, Jonathan Nieder wrote:
Show 15 quoted lines
>> What should happen if I have set GIT_SKIP_TESTS explicitly to run >> only some of the tests in t0000-basic? > > A quick test (with the above patch applied) shows that > it works as I would expect: > > $ GIT_SKIP_TESTS=t0000.1[2-6] ./t0000-basic.sh > ... > ok 11 - test --verbose > ok 12 # skip test --verbose-only (GIT_SKIP_TESTS) > ok 13 # skip GIT_SKIP_TESTS (GIT_SKIP_TESTS) > ok 14 # skip GIT_SKIP_TESTS several tests (GIT_SKIP_TESTS) > ok 15 # skip GIT_SKIP_TESTS sh pattern (GIT_SKIP_TESTS) > ok 16 # skip --run basic (GIT_SKIP_TESTS) > ok 17 - --run with a range
Try GIT_SKIP_TESTS=t0000.17 ./t0000-basic.sh:
ok 13 - GIT_SKIP_TESTS ok 14 - GIT_SKIP_TESTS several tests ok 15 - GIT_SKIP_TESTS sh pattern ok 16 - --run basic ok 17 - --run with a range
Thanks, Jonathan