diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-12-15 09:39:46 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-15 09:39:46 -0800 |
commit | 285907901c386eae4e0d50c617e1b82a58cff778 (patch) | |
tree | fa6d38cedf02f58d3f034fe818039ff122532c74 /t/README | |
parent | Merge branch 'ab/mark-leak-free-tests-even-more' (diff) | |
parent | test-lib: make BAIL_OUT() work in tests and prereq (diff) | |
download | tgif-285907901c386eae4e0d50c617e1b82a58cff778.tar.xz |
Merge branch 'fs/test-prereq'
The test framework learns to list unsatisfied test prerequisites,
and optionally error out when prerequisites that are expected to be
satisfied are not.
* fs/test-prereq:
test-lib: make BAIL_OUT() work in tests and prereq
test-lib: introduce required prereq for test runs
test-lib: show missing prereq summary
Diffstat (limited to 't/README')
-rw-r--r-- | t/README | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -466,6 +466,12 @@ explicitly providing repositories when accessing submodule objects is complete or needs to be abandoned for whatever reason (in which case the migrated codepaths still retain their performance benefits). +GIT_TEST_REQUIRE_PREREQ=<list> allows specifying a space speparated list of +prereqs that are required to succeed. If a prereq in this list is triggered by +a test and then fails then the whole test run will abort. This can help to make +sure the expected tests are executed and not silently skipped when their +dependency breaks or is simply not present in a new environment. + Naming Tests ------------ |