Re: [PATCH 7/7] remote-helpers: add tests for testgit helper
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Apr 12, 2010, 14:24 UTC
- Message-ID
- <20100412142428.GA3839@progeny.tock>
- In-Reply-To
- <1269881309-19690-8-git-send-email-srabbelier@gmail.com>
Hi Sverre,
Sverre Rabbelier wrote:
> t/t5800-remote-helpers.sh | 70 +++++++++++++++++++++++++++++++++++++++++++++ > 1 files changed, 70 insertions(+), 0 deletions(-) > create mode 100755 t/t5800-remote-helpers.sh
Sorry I missed this before. Maybe it would make sense to squash something like this in.
-- 8< -- Subject: t5800: testgit helper requires Python support
git remote-testgit is written in Python. In a NO_PYTHON build, tests using it would fail, so skip them.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- t/t5800-remote-helpers.sh | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/t/t5800-remote-helpers.sh b/t/t5800-remote-helpers.sh index eb31709..75a0163 100755 --- a/t/t5800-remote-helpers.sh +++ b/t/t5800-remote-helpers.sh @@ -7,6 +7,12 @@ test_description='Test remote-helper import and export commands' . ./test-lib.sh +if ! test_have_prereq PYTHON +then + say 'skipping git remote-testgit tests: requires Python support' + test_done +fi + test_expect_success 'setup repository' ' git init --bare server/.git && git clone server public &&
-- 1.7.0.4