t9020-*.sh: Skip all tests when python not available
PATCH 3/3 t9020-*.sh: Skip all tests when python not available
Signed-off-by Ramsay Jones <[email protected]>
---
Hi Florian,
Since python is not installed on MinGW, this test fails with an "unable to spawn script" type message when attempting to execute svnrdump. So, could you, in addition to the previous patch, squash this into commit 2d597d73 ("Add a test script for remote-svn", 20-08-2012).
Thanks!
ATB,
Ramsay Jones
t/t9020-remote-svn.sh | 6 ++++++ 1 file changed, 6 insertions(+)
t/t9020-remote-svn.sh +6 -0
@@ -4,6 +4,12 @@ test_description='tests remote-svn' . ./test-lib.sh +if ! test_have_prereq PYTHON +then + skip_all='skipping remote-svn tests, python not available' + test_done +fi + # We override svnrdump by placing a symlink to the svnrdump-emulator in . export PATH="$HOME:$PATH" ln -sf $GIT_BUILD_DIR/contrib/svn-fe/svnrdump_sim.py "$HOME/svnrdump"
Signature · 1 line
1.7.12