aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-04-03 10:56:19 -0700
committerJunio C Hamano <gitster@pobox.com>2024-04-03 10:56:19 -0700
commit188e94250ae358b6d2cf2592ba3e8696bd96242b (patch)
treea1d7aa0a77b0b51413c05c07d741b60812a44729
parente4193dcf127ec46704dcc637af083b01302383b0 (diff)
parent8d383806fc98771b42bc0407eedb235e5a6d5d08 (diff)
downloadgit-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/README7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/README b/t/README
index aae673d8af..d9e0e07506 100644
--- a/t/README
+++ b/t/README
@@ -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):