Skip to content

Commit

Permalink
cleanup test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
tokuhirom committed May 7, 2012
1 parent 7210106 commit 40f242c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Build.PL
Expand Up @@ -9,7 +9,17 @@ my $class = Module::Build->subclass(
sub ACTION_test {
my $self = shift;
$self->depends_on('code');
exec($^X . q{ util/myprove --source T --source TRA --source EGTRA --source TCC -r t/ t/*/*/*.tcc t/*/*/*.egtra t/tra/*.tra t/tra/*/*.tra});
push @tests, qw(
t/
t/*/*/*.tcc
t/*/*/*.egtra
t/tra/*.tra
t/tra/*/*.tra
);
if (-d '.git') {
# xt
}
exec($^X . q{ util/myprove --source T --source TRA --source EGTRA --source TCC -r } . join(' ', @tests));
}
sub ACTION_code {
my $self = shift;
Expand Down

0 comments on commit 40f242c

Please sign in to comment.