diff options
author | Jeff King <peff@peff.net> | 2021-03-17 18:47:03 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-03-18 14:17:30 -0700 |
commit | 27d578d9041d6ead1c897f398764dd55044a3a1d (patch) | |
tree | e5236661af7df995a045c6d5b893fa0bd3df77f7 /t/t4121-apply-diffs.sh | |
parent | Git 2.31 (diff) | |
download | tgif-27d578d9041d6ead1c897f398764dd55044a3a1d.tar.xz |
t: annotate !PTHREADS tests with !FAIL_PREREQS
Some tests in t5300 and t7810 expect us to complain about a "--threads"
argument when Git is compiled without pthread support. Running these
under GIT_TEST_FAIL_PREREQS produces a confusing failure: we pretend to
the tests that there is no pthread support, so they expect the warning,
but of course the actual build is perfectly happy to respect the
--threads argument.
We never noticed before the recent a926c4b904 (tests: remove most uses
of C_LOCALE_OUTPUT, 2021-02-11), because the tests also were marked as
requiring the C_LOCALE_OUTPUT prerequisite. Which means they'd never
have run in FAIL_PREREQS mode, since it would always pretend that the
locale prereq was not satisfied.
These tests can't possibly work in this mode; it is a mismatch between
what the tests expect and what the build was told to do. So let's just
mark them to be skipped, using the special prereq introduced by
dfe1a17df9 (tests: add a special setup where prerequisites fail,
2019-05-13).
Reported-by: Son Luong Ngoc <sluongng@gmail.com>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4121-apply-diffs.sh')
0 files changed, 0 insertions, 0 deletions