Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix lvalue.t to properly skip tests when run under Devel::Cover.
In that case, $PERLDB==260==0x104, which means:
0x100: Provide informative "file" names for evals based on the place they were compiled
0x004: Switch off optimizations
  • Loading branch information
d-lamb committed Aug 30, 2016
1 parent 94b1986 commit dffd8c8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions t/lvalue.t
Expand Up @@ -11,9 +11,7 @@ BEGIN {
if ( PDL::Lvalue->subs and !$PERLDB) {
plan tests => 3;
} else {
plan tests => 1;
print "ok 1 # Skipped: no lvalue sub support\n";
exit;
plan skip_all => "no lvalue sub support";
}
}

Expand Down

0 comments on commit dffd8c8

Please sign in to comment.