[Rt-commit] r7139 - rt/branches/3.7-EXPERIMENTAL/lib/t/regression
clkao at bestpractical.com
clkao at bestpractical.com
Mon Mar 5 04:39:55 EST 2007
Author: clkao
Date: Mon Mar 5 04:39:55 2007
New Revision: 7139
Modified:
rt/branches/3.7-EXPERIMENTAL/lib/t/regression/06-crypt-gnupg.t
Log:
skip unless there is gnupg::interface.
Modified: rt/branches/3.7-EXPERIMENTAL/lib/t/regression/06-crypt-gnupg.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/t/regression/06-crypt-gnupg.t (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/t/regression/06-crypt-gnupg.t Mon Mar 5 04:39:55 2007
@@ -1,7 +1,10 @@
#!/usr/bin/perl
use strict;
use warnings;
-use Test::More tests => 95;
+use Test::More;
+eval 'use GnuPG::Interface; 1' or plan skip_all => 'GnuPG required.';
+
+plan tests => 95;
use_ok("RT");
@@ -12,7 +15,6 @@
RT::Init();
-use GnuPG::Interface;
use File::Spec ();
use Cwd;
More information about the Rt-commit
mailing list