File: test40pmc.t

package info (click to toggle)
libdevel-nytprof-perl 6.04%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,552 kB
  • ctags: 1,540
  • sloc: perl: 5,590; ansic: 107; makefile: 21
file content (19 lines) | stat: -rw-r--r-- 359 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use strict;
use Test::More;
use Config;

my $no_pmc;
if (Config->can('non_bincompat_options')) {
    foreach(Config::non_bincompat_options()) {
       if($_ eq "PERL_DISABLE_PMC"){
           $no_pmc = 1;
           last;
       }
    }
};
plan skip_all => ".pmc are disabled in this perl"
    if $no_pmc;
use lib qw(t/lib);
use NYTProfTest;

run_test_group;