Permalink
Browse files

Try to get the reasons why tests are skipped during 'make test' to sh…

…ow up better.

git-svn-id: https://svn.parrot.org/parrot/trunk@48000 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent 23efac8 commit 39b6c0ff87d463cc63a4e481607100362524be06 jkeenan committed Jul 5, 2010
Showing with 16 additions and 9 deletions.
  1. +7 −4 t/configure/017-revision_from_cache.t
  2. +7 −4 t/configure/018-revision_to_cache.t
  3. +2 −1 t/postconfigure/05-trace.t
@@ -7,10 +7,13 @@ use strict;
use warnings;
use Test::More;
-plan( skip_all =>
- "\nRelevant only when working in checkout from repository and during configuration" )
- unless (-e 'DEVELOPING' and ! -e 'Makefile');
-plan( tests => 7 );
+if (-e 'DEVELOPING' and ! -e 'Makefile') {
+ plan tests => 7;
+}
+else {
+ plan skip_all =>
+ qq{\nRelevant only when working in checkout from repository and prior to configuration};
+}
use Carp;
use Cwd;
use File::Copy;
@@ -7,10 +7,13 @@ use strict;
use warnings;
use Test::More;
-plan( skip_all =>
- "\nRelevant only when working in checkout from repository and during configuration" )
- unless (-e 'DEVELOPING' and ! -e 'Makefile');
-plan( tests => 8 );
+if (-e 'DEVELOPING' and ! -e 'Makefile') {
+ plan tests => 8;
+}
+else {
+ plan skip_all =>
+ qq{\nRelevant only when working in checkout from repository and prior to configuration};
+}
use Carp;
use Cwd;
use File::Copy;
@@ -14,7 +14,8 @@ if ( ( -e qq{./lib/Parrot/Config/Generated.pm} )
plan tests => 40;
}
else {
- plan skip_all => q{Tests irrelevant unless configuration completed with tracing requested};
+ plan skip_all =>
+ q{Tests irrelevant unless configuration completed with tracing requested};
}
use lib qw( lib );
use Parrot::Config;

0 comments on commit 39b6c0f

Please sign in to comment.