Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.533 kb
use Pies;
use Panda::Common;
class Panda::Tester does Pies::Tester {
sub die (Pies::Project $p, $d) is hidden_from_backtrace {
X::Panda.new($p.name, 'test', $d).throw
}
has $.resources;
method test(Pies::Project $p) {
indir $!resources.workdir($p), {
if 't'.IO ~~ :d {
withp6lib {
my $c = "prove -e $*EXECUTABLE_NAME -r t/";
shell $c and die $p, "Tests failed";
}
}
};
}
}
# vim: ft=perl6
Jump to Line
Something went wrong with that request. Please try again.