projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
8ff7989
)
Plan in advance when we know which modules we're going to test.
Florian Ragwitz [Sat, 1 May 2010 16:48:46 +0000 (18:48 +0200)]
xt/author/test-my-dependents.t
patch
|
blob
|
blame
|
history
diff --git
a/xt/author/test-my-dependents.t
b/xt/author/test-my-dependents.t
index
01b7820
..
bdcc08a
100644
(file)
--- a/
xt/author/test-my-dependents.t
+++ b/
xt/author/test-my-dependents.t
@@
-17,11
+17,12
@@
my $exclude = qr/^Acme-/x;
if ( $ENV{MOOSE_TEST_MD_ALL} ) {
test_all_dependents( 'Moose', { exclude => $exclude } );
+ done_testing;
}
else {
my @modules = map { chomp; $_ } <DATA>;
+ plan tests => scalar @modules;
test_module($_) for @modules;
- done_testing;
}
__DATA__