diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-04-03 10:56:19 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-04-03 10:56:19 -0700 |
commit | 188e94250ae358b6d2cf2592ba3e8696bd96242b (patch) | |
tree | a1d7aa0a77b0b51413c05c07d741b60812a44729 | |
parent | e4193dcf127ec46704dcc637af083b01302383b0 (diff) | |
parent | 8d383806fc98771b42bc0407eedb235e5a6d5d08 (diff) | |
download | git-188e94250ae358b6d2cf2592ba3e8696bd96242b.tar.gz |
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
-rw-r--r-- | t/README | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -32,6 +32,13 @@ the tests. ok 2 - plain with GIT_WORK_TREE ok 3 - plain bare +t/Makefile defines a target for each test file, such that you can also use +shell pattern matching to run a subset of the tests: + + make *checkout* + +will run all tests with 'checkout' in their filename. + Since the tests all output TAP (see https://testanything.org) they can be run with any TAP harness. Here's an example of parallel testing powered by a recent version of prove(1): |