From: Tony Cook Date: Wed, 23 Apr 2014 05:23:43 +0000 (+1000) Subject: [perl #121662] use a more stringent check for -DPERL_DISABLE_PMC X-Git-Tag: upstream/5.20.0~78 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=006200b1666c346727e3c25c51152f9a732c6d89;p=platform%2Fupstream%2Fperl.git [perl #121662] use a more stringent check for -DPERL_DISABLE_PMC which Tom produced updated patch for, but then I grabbed the wrong patch. --- diff --git a/t/run/switchM.t b/t/run/switchM.t index 9c12a4a..d2b5994 100644 --- a/t/run/switchM.t +++ b/t/run/switchM.t @@ -22,7 +22,7 @@ like(runperl(switches => ['-Irun/flib/', '-Mbroken'], stderr => 1), "Ensure -Irun/flib/ produces correct filename in warnings"); SKIP: { - if ( $Config{ccflags} =~ /-DPERL_DISABLE_PMC/ ) { + if ( $Config{ccflags} =~ /(?:^|\s)-DPERL_DISABLE_PMC\b/ ) { skip('Tests fail without PMC support', 2); }