diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2018-11-14 08:32:10 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-16 14:18:00 +0900 |
commit | ed306e4e0fbb621001f008e6d50718898be4fc09 (patch) | |
tree | 754d45898d45e7ca631d22cb4f0d84311bc0b9e0 /contrib/diff-highlight/t | |
parent | t/lib-gettext: test installed git-sh-i18n if GIT_TEST_INSTALLED is set (diff) | |
download | tgif-ed306e4e0fbb621001f008e6d50718898be4fc09.tar.xz |
tests: do not require Git to be built when testing an installed Git
We really only need the test helpers to be built in the worktree in that
case, but that is not what we test for.
On the other hand it is a perfect opportunity to verify that
`GIT_TEST_INSTALLED` points to a working Git.
So let's test the appropriate Git executable. While at it, also adjust
the error message in the `GIT_TEST_INSTALLED` case.
This patch is best viewed with `-w --patience`.
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/diff-highlight/t')
0 files changed, 0 insertions, 0 deletions