[BUG] question mark in GIT_SKIP_TESTS is broken in master
- From
Andrei Rybak <rybak.a.v@gmail.com>
- Date
- Jun 15, 2021, 20:55 UTC
- Message-ID
- <1d003cac-83fa-0b63-f60e-55513ac45cf9@gmail.com>
Hi,
I've taken an example of how to use GIT_SKIP_TESTS directly from t/README:
$ GIT_SKIP_TESTS='t[0-4]??? t91?? t9200.8' make
and noticed that t0000 is still being run. I've written a script to bisect the issue:
#/bin/sh
(
cd t
GIT_SKIP_TESTS='t[0-4]??? t91?? t9200.8' make | \
head | grep 'SKIP skip all tests in t0000'
)and it bisected to edc23840b0 (test-lib: bring $remove_trash out of retirement, 2021-05-10) which was merged to master in 2019256717 ("Merge branch 'ab/test-lib-updates'", 2021-06-14).
Note, that spelling out the tests number in full works, i.e.
$ GIT_SKIP_TESTS=t0000 make
won't run t0000.