diff options
author | Tony Cook <tony@develop-help.com> | 2014-04-23 15:23:43 +1000 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2014-04-23 15:23:43 +1000 |
commit | 006200b1666c346727e3c25c51152f9a732c6d89 (patch) | |
tree | 0c4e22b3d593249478d759ee352cb48373227ae9 /t | |
parent | d9c544bf81d27bebeecc8eb1204005c1cc329f64 (diff) | |
download | perl-006200b1666c346727e3c25c51152f9a732c6d89.tar.gz |
[perl #121662] use a more stringent check for -DPERL_DISABLE_PMC
which Tom produced updated patch for, but then I grabbed the wrong
patch.
Diffstat (limited to 't')
-rw-r--r-- | t/run/switchM.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/run/switchM.t b/t/run/switchM.t index 9c12a4a64d..d2b5994a71 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); } |