From 3f11b7fab1b1ef94225d8ff8cadfde2c01f3f266 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 8 Apr 2023 17:31:16 -0600 Subject: [PATCH] XXX skip croak.t under sanitizer --- t/harness | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t/harness b/t/harness index 8077abe6a1f6..5db239b65775 100644 --- a/t/harness +++ b/t/harness @@ -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;