1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-04-27 18:45:09 +02:00

Merge branch 'pb/test-scripts-are-build-targets' into next

The README 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
This commit is contained in:
Junio C Hamano 2024-03-27 10:13:04 -07:00
commit 9ef22a39b6

View File

@ -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):