Moved to a new VM to avoid forkbombing or worse on the main system
This commit is contained in:
parent
9cf27aeb5b
commit
3a6f72f81a
4 changed files with 4 additions and 4 deletions
BIN
everything.stor
BIN
everything.stor
Binary file not shown.
BIN
modcache.stor
BIN
modcache.stor
Binary file not shown.
BIN
revdepcache.stor
BIN
revdepcache.stor
Binary file not shown.
8
run.pl
8
run.pl
|
@ -41,7 +41,6 @@ $|++;
|
||||||
|
|
||||||
my @modules;
|
my @modules;
|
||||||
my %jobstatus;
|
my %jobstatus;
|
||||||
|
|
||||||
if (!-e $opt_jobstor) {
|
if (!-e $opt_jobstor) {
|
||||||
my @mods_to_test = ($opt_module);
|
my @mods_to_test = ($opt_module);
|
||||||
|
|
||||||
|
@ -74,10 +73,11 @@ END {__save_cache};
|
||||||
for my $mod (@modules) {
|
for my $mod (@modules) {
|
||||||
print "Testing $mod\n";
|
print "Testing $mod\n";
|
||||||
my $status = $jobstatus{$mod}{status} // "";
|
my $status = $jobstatus{$mod}{status} // "";
|
||||||
if ($jobstatus{$mod}{tested} != $opt_pass && $status ne "success" && $status ne 'manual failure' ) {
|
my $tested = $jobstatus{$mod}{tested} // 0;
|
||||||
print "STATUS => $status, PASS => $opt_pass, TESTED => ", $jobstatus{$mod}{tested}, "\n";
|
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);
|
my $status = TestCpanInc::test_module($mod);
|
||||||
$jobstatus{$mod}{tested} = 1;
|
$jobstatus{$mod}{tested} = $opt_pass;
|
||||||
$jobstatus{$mod}{status} = $status;
|
$jobstatus{$mod}{status} = $status;
|
||||||
__save_cache;
|
__save_cache;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue