16 like(runperl(switches => ['-Irun/flib', '-Mbroken'], stderr => 1),
17 qr/^Global symbol "\$x" requires explicit package name \(did you (?x:
18 )forget to declare "my \$x"\?\) at run\/flib\/broken.pm line 6\./,
19 "Ensure -Irun/flib produces correct filename in warnings");
21 like(runperl(switches => ['-Irun/flib/', '-Mbroken'], stderr => 1),
22 qr/^Global symbol "\$x" requires explicit package name \(did you (?x:
23 )forget to declare "my \$x"\?\) at run\/flib\/broken.pm line 6\./,
24 "Ensure -Irun/flib/ produces correct filename in warnings");
28 foreach(Config::non_bincompat_options()) {
29 if($_ eq "PERL_DISABLE_PMC"){
36 skip('Tests fail without PMC support', 2);
39 like(runperl(switches => ['-Irun/flib', '-Mt2'], prog => 'print t2::id()', stderr => 1),
41 "Ensure -Irun/flib loads pmc");
43 like(runperl(switches => ['-Irun/flib/', '-Mt2'], prog => 'print t2::id()', stderr => 1),
45 "Ensure -Irun/flib/ loads pmc");