t/test1.t
t/test1_a.t
####
system "perl t/test1.t -a qqq -b 1";
####
BEGIN {
$error = 0;
# foo:bar is required
eval {
require foo::bar;
};
if ( $@ ) {
warn "foo::bar is not installed or is installed incorrectly - skipping test1_a.t";
$error = 1;
}
}
exit(0) if ( $error == 1 );
system "perl t/test1.t -a qqq -b 1";
####
t/test1_a......foo::bar is not installed or is installed incorrectly - skipping test1_a.t at t/test1_a.t line 13.
FAILED before any test output arrived
####
t/test1_a........................foo::bar is not installed or is installed incorrectly - skipping test1_a.t