Debian Codegraph @

t/integration/signals.t

raw
1 use Test2::V0;
2 use Test2::Require::AuthorTesting;
3
4 use File::Temp qw/tempdir/;
5 use File::Spec;
6
7 use Test2::Harness::Util::File::JSONL;
8 use App::Yath::Tester qw/yath/;
9
10 my $dir = __FILE__;
11 $dir =~ s{\.t$}{}g;
12 $dir =~ s{^\./}{};
13
14 for ( 1..10 ) {
15 # the tests are flapping when using something like '%INC = %INC'....
16 # make sure the issue is fixed by running them a few times
17 my $out = yath(
18 prefix => "Try $_: ",
19 command => 'test',
20 args => [$dir],
21 log => 0,
22 exit => 0,
23 );
24 }
25
26 done_testing;