diff options
author | Jeff King <peff@peff.net> | 2009-04-03 15:33:59 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-08 22:42:16 -0700 |
commit | 1b19ccd236e3369ac77d74ded207406ffbf9feca (patch) | |
tree | 3893ed847c3f7f6c74c7fa7d424d9707f9b64938 /t/t7501-commit.sh | |
parent | 499c29394ce1ead3ebd29b0d3c8014cdb7a32e63 (diff) | |
download | git-1b19ccd236e3369ac77d74ded207406ffbf9feca.tar.gz |
tests: skip perl tests if NO_PERL is defined
These scripts all test git programs that are written in
perl, and thus obviously won't work if NO_PERL is defined.
We pass NO_PERL to the scripts from the building Makefile
via the GIT-BUILD-OPTIONS file.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7501-commit.sh')
-rwxr-xr-x | t/t7501-commit.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t7501-commit.sh b/t/t7501-commit.sh index b4e2b4db84..e2ef53228e 100755 --- a/t/t7501-commit.sh +++ b/t/t7501-commit.sh @@ -38,7 +38,7 @@ test_expect_success \ "echo King of the bongo >file && test_must_fail git commit -m foo -a file" -test_expect_success \ +test_expect_success PERL \ "using paths with --interactive" \ "echo bong-o-bong >file && ! (echo 7 | git commit -m foo --interactive file)" @@ -119,7 +119,7 @@ test_expect_success \ "echo 'gak' >file && \ git commit -m 'author' --author 'Rubber Duck <rduck@convoy.org>' -a" -test_expect_success \ +test_expect_success PERL \ "interactive add" \ "echo 7 | git commit --interactive | grep 'What now'" |