File: 10-good.t

package info (click to toggle)
libtest-valgrind-perl 1.19-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 424 kB
  • sloc: perl: 2,779; makefile: 22
file content (30 lines) | stat: -rw-r--r-- 462 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!perl

use strict;
use warnings;

use Test::More;

use lib 't/lib';

eval {
 require Test::Valgrind;
 Test::Valgrind->import(
  diag           => 1,
  regen_def_supp => 1,
 );
};
if ($@) {
 diag $@;
 plan skip_all
        => 'Test::Valgrind is required to test your distribution with valgrind';
}

{
 package Test::Valgrind::Test::Fake;

 use base qw<strict>;
}

plan tests => 1;
fail 'dummy test in the child, should not interfere with the actual TAP stream';