From: Todd Lyons Date: Fri, 9 May 2014 23:23:02 +0000 (-0700) Subject: Always run optional steps if configured to run. X-Git-Url: https://git.exim.org/buildfarm-client.git/commitdiff_plain/b0b4b1f1eefe6f7c51f6b6891f4c79c0d49ff005 Always run optional steps if configured to run. --- diff --git a/run_build.pl b/run_build.pl index 2171231..9e68d8d 100755 --- a/run_build.pl +++ b/run_build.pl @@ -767,9 +767,9 @@ sub check_optional_step &&grep {$_ eq $wday} @{$oconf->{dow}}); my $last_step = $last_status = find_last("$step") || 0; - - return undef unless ($forcerun || - time >$last_step + (3600 * $oconf->{min_hours_since})); + ## If made it *to* these optional steps, we just run them and reset last time + #return undef unless ($forcerun || + # time >$last_step + (3600 * $oconf->{min_hours_since})); set_last("$step") unless $nostatus; return 1;