diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-06-02 08:44:44 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-06-02 07:51:42 -0700 |
| commit | a1199a23896c674f57f3942358e2f05b3a075e7a (patch) | |
| tree | 9d21917e901db1c712c1e9cde1dcef67ea716de5 /t/t0000-basic.sh | |
| parent | 844537091d3ab00aaec73bebd6b4c70adfd998fb (diff) | |
| download | git-a1199a23896c674f57f3942358e2f05b3a075e7a.tar.gz | |
t983*: use prereq to check for Python-specific git-p4(1) support
The tests in t9835 and t9836 verify that git-p4(1) works with both
Python 2 and 3, respectively. To determine whether we have those Python
versions in the first place we create a wrapper script that directly
executes the git-p4(1) script with `python2` or `python3` binaries. We
then condition the execution of tests on whether that wrapper script can
be executed successfully.
The logic that does all of this is not contained in a prerequisite block
though, so the output it generates causes us to break the TAP format.
Refactor the logic to use `test_lazy_prereq()` to fix this.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0000-basic.sh')
0 files changed, 0 insertions, 0 deletions
