[libdist-zilla-plugin-githubmeta-perl] 01/01: Skip the basic tests if 'git' is not installed.
Axel Beckert
abe at deuxchevaux.org
Sun Apr 26 22:25:41 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to annotated tag 0.14
in repository libdist-zilla-plugin-githubmeta-perl.
commit 22f613bacc1aac2a8a0b6853b9b7f64764ae5b8c
Author: Chris 'BinGOs' Williams <chris at bingosnet.co.uk>
Date: Tue Jun 28 19:12:05 2011 +0100
Skip the basic tests if 'git' is not installed.
---
dist.ini | 2 +-
t/basic.t | 7 +++++++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/dist.ini b/dist.ini
index 994e56e..8707b5c 100644
--- a/dist.ini
+++ b/dist.ini
@@ -1,5 +1,5 @@
name = Dist-Zilla-Plugin-GithubMeta
-version = 0.12
+version = 0.14
author = Chris Williams <chris at bingosnet.co.uk>
author = Ricardo SIGNES <rjbs at cpan.org>
license = Perl_5
diff --git a/t/basic.t b/t/basic.t
index eb0582e..ba64a70 100644
--- a/t/basic.t
+++ b/t/basic.t
@@ -1,6 +1,13 @@
use strict;
use warnings;
use Test::More 0.88;
+use IPC::Cmd qw[can_run];
+
+unless ( can_run('git') ) {
+ ok('No git, no dice');
+ done_testing;
+ exit 0;
+}
use lib 't/lib';
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-githubmeta-perl.git
More information about the Pkg-perl-cvs-commits
mailing list