Lines Matching refs:opt
18 my %opt;
463 if (defined($opt{"LOG_FILE"})) {
464 open(OUT, ">> $opt{LOG_FILE}") or die "Can't write to $opt{LOG_FILE}";
471 if (defined($opt{"LOG_FILE"})) {
536 return if (defined($opt{$config}));
649 my $rtype = $opt{"REBOOT_TYPE"};
652 if (!defined($opt{"GRUB_MENU"})) {
743 if (defined($opt{$lvalue})) {
754 $opt{$lvalue} = $prvalue;
820 defined($opt{$2});
1129 $opt{"NUM_TESTS"} = $test_num;
1168 if (!defined($opt{$default})) {
1169 $opt{$default} = $default{$default};
1173 if ($opt{"IGNORE_UNUSED"} == 1) {
1180 foreach my $option (keys %opt) {
1239 if (($var eq $name) && defined($opt{$var})) {
1240 $o = $opt{$var};
1242 } elsif (defined($opt{$o})) {
1243 $o = $opt{$o};
1245 } elsif ($repeated && defined($opt{$parento})) {
1246 $o = $opt{$parento};
1248 } elsif (defined($opt{$var})) {
1249 $o = $opt{$var};
1387 ($test_type eq "patchcheck" && $opt{"PATCHCHECK_TYPE[$i]"} eq "build") ||
1388 ($test_type eq "bisect" && $opt{"BISECT_TYPE[$i]"} eq "build");
1406 if (defined($opt{"LOG_FILE"})) {
1407 print " See $opt{LOG_FILE} for more info.\n";
1684 if (defined($opt{"LOG_FILE"})) {
1685 open(LOG, ">>$opt{LOG_FILE}") or
2516 if ($i != $opt{"NUM_TESTS"} && !do_not_reboot) {
4090 if (defined($opt{"LOG_FILE"})) {
4091 $opt{"LOG_FILE"} = eval_option("LOG_FILE", $opt{"LOG_FILE"}, -1);
4101 $opt{$config} = process_variables($entered_configs{$config});
4105 if ($opt{"CLEAR_LOG"} && defined($opt{"LOG_FILE"})) {
4106 unlink $opt{"LOG_FILE"};
4111 for (my $i = 0, my $repeat = 1; $i <= $opt{"NUM_TESTS"}; $i += $repeat) {
4124 foreach my $option (sort keys %opt) {
4132 doprint "$option = $opt{$option}\n";
4139 if (defined($opt{$option}) && $opt{$option} !~ /^\s*$/) {
4152 return $opt{$option};
4160 return $opt{$option};
4166 return $opt{$name};
4182 for (my $i = 1; $i <= $opt{"NUM_TESTS"}; $i++) {
4214 foreach my $opt (keys %option_map) {
4215 ${$option_map{$opt}} = set_test_option($opt, $i);
4290 … doprint "RUNNING TEST $i of $opt{NUM_TESTS}$name with option $test_type $run_type$installme\n\n";
4375 if ($opt{"POWEROFF_ON_SUCCESS"}) {
4377 } elsif ($opt{"REBOOT_ON_SUCCESS"} && !do_not_reboot && $reboot_success) {
4385 doprint "\n $successes of $opt{NUM_TESTS} tests were successful\n\n";