[Bps-public-commit] r14437 - sd/trunk/t

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Jul 23 14:11:29 EDT 2008


Author: sunnavy
Date: Wed Jul 23 14:11:27 2008
New Revision: 14437

Modified:
   sd/trunk/t/01-dependencies.t

Log:
we should make 01-dependencies skip if inc/.author isn't there

Modified: sd/trunk/t/01-dependencies.t
==============================================================================
--- sd/trunk/t/01-dependencies.t	(original)
+++ sd/trunk/t/01-dependencies.t	Wed Jul 23 14:11:27 2008
@@ -13,7 +13,12 @@
 use Test::More;
 use File::Find;
 eval 'use Module::CoreList';
-if ($@) { plan skip_all => 'Module::CoreList not installed' }
+if ($@) {
+    plan skip_all => 'Module::CoreList not installed'
+}
+elsif ( ! -e 'inc/.author' ) {
+    plan skip_all => 'no inc/.author, and it is on purpose ;)'
+}
 
 plan 'no_plan';
 



More information about the Bps-public-commit mailing list