Moved to a new VM to avoid forkbombing or worse on the main system

This commit is contained in:
ryan 2017-04-22 18:48:31 -07:00
parent 9cf27aeb5b
commit 3a6f72f81a
4 changed files with 4 additions and 4 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

8
run.pl
View file

@ -41,7 +41,6 @@ $|++;
my @modules;
my %jobstatus;
if (!-e $opt_jobstor) {
my @mods_to_test = ($opt_module);
@ -74,10 +73,11 @@ END {__save_cache};
for my $mod (@modules) {
print "Testing $mod\n";
my $status = $jobstatus{$mod}{status} // "";
if ($jobstatus{$mod}{tested} != $opt_pass && $status ne "success" && $status ne 'manual failure' ) {
print "STATUS => $status, PASS => $opt_pass, TESTED => ", $jobstatus{$mod}{tested}, "\n";
my $tested = $jobstatus{$mod}{tested} // 0;
if ($tested != $opt_pass && $status ne "success" && $status ne 'manual failure' ) {
print "STATUS => $status, PASS => $opt_pass, TESTED => $tested\n" if $opt_pass != 1;
my $status = TestCpanInc::test_module($mod);
$jobstatus{$mod}{tested} = 1;
$jobstatus{$mod}{tested} = $opt_pass;
$jobstatus{$mod}{status} = $status;
__save_cache;
}