From: Steve Hancock Date: Sat, 10 Dec 2022 16:09:58 +0000 (-0800) Subject: automate error checks in random testing X-Git-Tag: 20221112.02~12 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=31687a0540c8d6bb684e59f5dc8020d2fae9ba2d;p=perltidy.git automate error checks in random testing --- diff --git a/dev-bin/perltidy_random_run.pl b/dev-bin/perltidy_random_run.pl index a8fcaa2e..bc82f732 100755 --- a/dev-bin/perltidy_random_run.pl +++ b/dev-bin/perltidy_random_run.pl @@ -726,6 +726,7 @@ echo "Perltidy random run ..." echo "NOTE: Create a file named 'stop.now' to force an early exit" sleep 2 nohup nice -n19 perltidy_random_run.pl $nf.$np >>nohup.my 2>>nohup.my +perl RUNME.pl EOM system("chmod +x $runme"); print STDOUT "To restart, enter ./$runme\n"; diff --git a/dev-bin/perltidy_random_setup.pl b/dev-bin/perltidy_random_setup.pl index 595c8291..b82c6ff8 100755 --- a/dev-bin/perltidy_random_setup.pl +++ b/dev-bin/perltidy_random_setup.pl @@ -479,6 +479,7 @@ echo "Perltidy random run ..." echo "NOTE: Create a file named 'stop.now' to force an early exit" sleep 2 nohup nice -n19 perltidy_random_run.pl >>nohup.my 2>>nohup.my +perl RUNME.pl EOM system("chmod +x $runme"); print STDOUT "Edit $config_file if you want to make any changes\n";