Skip to content

Commit

Permalink
Fix tidyall tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomif committed Sep 14, 2023
1 parent 8997cfd commit 6f6ac75
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ else
my $exit_code;
trap(
sub {
$exit_code = system( $^X, "-I", "lib",
$exit_code = system(
$^X, "-I", "lib",
"bin/verify-solitaire-solution",
"t/data/sample-solutions/1.fc-wrong.sol.txt"
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

my @y_params = ( -0.0024, 0.22, 0.0 );

exec( $^X,
exec(
$^X,
"time-scan.pl",
"--method",
"patsolve",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

my @y_params = ( 0.0032, 0.32, -3.0 );

exec( $^X,
exec(
$^X,
"time-scan.pl",
"--method",
"patsolve",
Expand Down
3 changes: 2 additions & 1 deletion fc-solve/scripts/fcc-delta-stater--test.pl
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ sub mytest
$was_printed = 1;
if ( ( ++$count ) % 100 == 0 )
{
print( $DEAL_IDX ,
print(
$DEAL_IDX,
":",
($count),
": max_len = $maxlen ",
Expand Down
3 changes: 2 additions & 1 deletion fc-solve/scripts/t/range-verifier.t
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ sub _test_range_verifier
local $Test::Builder::Level = $Test::Builder::Level + 1;

return ok(
!system( $^X, $ranger_verifier,
!system(
$^X, $ranger_verifier,
'--summary-lock', "$verifier_data_dir/summary.lock",
'--summary-stats-file', $stats_file,
'--summary-file', $summary_file,
Expand Down
6 changes: 4 additions & 2 deletions fc-solve/source/t/t/fc-solve-output-Test-Trap.t
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ my $MID24_BOARD = samp_board('24-mid.board');
{
trap
{
system( $FC_SOLVE__RAW,
system(
$FC_SOLVE__RAW,
qw/-s -i -p -t -sam -sel -to j/,
samp_board('24-mod-to-test-fc-to-empty-s.board')
);
Expand Down Expand Up @@ -152,7 +153,8 @@ qr/^1591 = Verdict: Intractable.*?^1592 = Verdict: Solved.*?^1593 = Verdict: Sol

trap
{
$status = system( $FC_SOLVE__RAW,
$status = system(
$FC_SOLVE__RAW,
qw#
--flare-name prefix_of_a_long_name --method soft-dfs -to 0123456789 -sp r:tf -opt -opt-to 0123456789ABCDE
-nf --flare-name another_long_name --method soft-dfs -to 0123467 -sp r:tf -opt -opt-to 0123456789ABCDE
Expand Down

0 comments on commit 6f6ac75

Please sign in to comment.