We are going to move the interpretation of --max-flight into
Osstest::Executive. Start this by making $maxflight shared between
Executive and the main program. Later, we will make it no longer
exported.
There are a number of places in Executive where a `my' variable
$maxflight shadows the newly moved global. These will be got rid of
later, too.
No functional change.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
@ISA = qw(Exporter);
@EXPORT = qw(get_harness_rev grabrepolock_reexec
findtask @all_lock_tables
+ $maxflight
report_run_getinfo report_altcolour
report_blessingscond report_find_push_age_info
tcpconnect_queuedaemon plan_search
#---------- history reporting ----------
+our $maxflight;
+
our $green= '#008800';
our $red= '#ff8888';
our $yellow= '#ffff00';
open DEBUG, ">/dev/null";
open MRO, ">/dev/null";
-our $maxflight;
-
while (@ARGV && $ARGV[0] =~ m/^-/) {
$_= shift @ARGV;
last if m/^--?$/;
our $flightlimit;
our $htmlout = ".";
our @blessings;
-our $maxflight;
open DEBUG, ">/dev/null";
our (@blessings,@branches);
our $limit= 100;
our $htmlout;
-our $maxflight;
our $flight;
our $job;