Skip to content

Commit

Permalink
XXX skip croak.t under sanitizer
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed Nov 13, 2023
1 parent 732c217 commit 7c693ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions t/harness
Expand Up @@ -84,6 +84,9 @@ if ($ARGV[0] && $ARGV[0] =~ /^-?-torture$/) {
$ENV{PERL_CORE} = 1;

my (@tests, @re, @anti_re);
if ($Config{ccflags} =~ /-fsanitize/) {
@anti_re = qr!^lib/croak\.t|porting/test_testlist\.t!;
}

# [.VMS]TEST.COM calls harness with empty arguments, so clean-up @ARGV
@ARGV = grep $_ && length( $_ ) => @ARGV;
Expand Down

0 comments on commit 7c693ec

Please sign in to comment.