Skip to content

Commit

Permalink
do not delete _Inline/
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomif committed Dec 5, 2024
1 parent de5de56 commit 57932fa
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions cpan/Games-Solitaire-Verify/benchmark/sanity-test.pl
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,17 @@ sub do_system

sub _cleanup
{
rmtree( ["_Inline"] );
my ($start) = @_;

if ($start)
{
rmtree( ["_Inline"] );
}
unlink( grep { -f $_ } glob("Results/*.res") );
return;
}

_cleanup();
_cleanup(1);

do_system( { cmd => [ "gmake", "-f", "par2.mak", "-j1", "Results/1.res", ] } );
do_system( { cmd => [ "gmake", "-f", "par2.mak", "-j1", "Results/2.res", ] } );
Expand All @@ -57,5 +62,5 @@ sub _cleanup
}
continue { ++$i; }
Carp::confess() if $i ne 401;
_cleanup();
_cleanup('');
unlink( "build.ninja", "par2.mak" );

0 comments on commit 57932fa

Please sign in to comment.