{"thread":{"id":"31358","subject":"[PATCH 3/3] t9020-*.sh: Skip all tests when python not available","startedAt":"2012-08-25T17:26:06Z","lastAt":"2012-08-25T17:26:06Z","messageCount":1,"participants":["Ramsay Jones"],"isPatch":true,"patchVersion":1,"patchTotal":3},"messages":[{"id":"197840","messageId":"50390AAE.6090602@ramsay1.demon.co.uk","threadId":"31358","inReplyTo":null,"subject":"[PATCH 3/3] t9020-*.sh: Skip all tests when python not available","fromName":"Ramsay Jones","fromEmail":"ramsay@ramsay1.demon.co.uk","sentAt":"2012-08-25T17:26:06Z","receivedAt":"2012-08-25T17:26:06Z","isPatch":true,"sender":{"key":"ramsay@ramsayjones.plus.com","avatar":"https://avatars.githubusercontent.com/u/33702710?v=4"},"body":"\nSigned-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>\n---\n\nHi Florian,\n\nSince python is not installed on MinGW, this test fails with\nan \"unable to spawn script\" type message when attempting to\nexecute svnrdump. So, could you, in addition to the previous\npatch, squash this into commit 2d597d73 (\"Add a test script\nfor remote-svn\", 20-08-2012).\n\nThanks!\n\nATB,\nRamsay Jones\n\n t/t9020-remote-svn.sh | 6 ++++++\n 1 file changed, 6 insertions(+)\n\ndiff --git a/t/t9020-remote-svn.sh b/t/t9020-remote-svn.sh\nindex cd7604e..e6ed4ca 100755\n--- a/t/t9020-remote-svn.sh\n+++ b/t/t9020-remote-svn.sh\n@@ -4,6 +4,12 @@ test_description='tests remote-svn'\n \n . ./test-lib.sh\n \n+if ! test_have_prereq PYTHON\n+then\n+\tskip_all='skipping remote-svn tests, python not available'\n+\ttest_done\n+fi\n+\n # We override svnrdump by placing a symlink to the svnrdump-emulator in .\n export PATH=\"$HOME:$PATH\"\n ln -sf $GIT_BUILD_DIR/contrib/svn-fe/svnrdump_sim.py \"$HOME/svnrdump\"\n-- \n1.7.12\n"}]}