From 31687a0540c8d6bb684e59f5dc8020d2fae9ba2d Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Sat, 10 Dec 2022 08:09:58 -0800 Subject: [PATCH] automate error checks in random testing --- dev-bin/perltidy_random_run.pl | 1 + dev-bin/perltidy_random_setup.pl | 1 + 2 files changed, 2 insertions(+) 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"; -- 2.39.5