Skip to content

Commit 188e942

Browse files
committed
Merge branch 'pb/test-scripts-are-build-targets'
The t/README file now gives a hint on running individual tests in the "t/" directory with "make t<num>-*.sh t<num>-*.sh". * pb/test-scripts-are-build-targets: t/README: mention test files are make targets
2 parents e4193dc + 8d38380 commit 188e942

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

t/README

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ the tests.
3232
ok 2 - plain with GIT_WORK_TREE
3333
ok 3 - plain bare
3434

35+
t/Makefile defines a target for each test file, such that you can also use
36+
shell pattern matching to run a subset of the tests:
37+
38+
make *checkout*
39+
40+
will run all tests with 'checkout' in their filename.
41+
3542
Since the tests all output TAP (see https://testanything.org) they can
3643
be run with any TAP harness. Here's an example of parallel testing
3744
powered by a recent version of prove(1):

0 commit comments

Comments
 (0)