Home | History | Annotate | Download | only in tests

Lines Matching refs:progB

68 #   - progB:  <prog to run in parallel with prog>   (default: none)
69 # - argsB: <args for progB> (default: none)
70 # - stdinB: <input file for progB> (default: none)
71 # - stdoutB_filter: <filter progB stdout through> (default: none)
72 # - stderrB_filter: <filter progB stderr through> (default: ./filter_stderr)
83 # Note that if a progB is specified, it is started in background (before prog).
91 # Expected output for progB is handled similarly, except that
92 # expected stdout and stderr for progB are in <test>.stdoutB.exp*
97 # (for progB, in <test>.std<strm>2.out and <test>.std<strm>2.diff*).
143 my $progB; # Same but for progB
149 my $stdinB; # Input file for progB
275 ($progB, $argsB, $stdinB) = (undef, "", undef);
307 } elsif ($line =~ /^\s*progB:\s*(.*)$/) {
308 $progB = validate_program(".", $1, 0, 0);
438 if (defined $progB) {
439 # If there is a progB, let's start it in background:
440 printf("%-16s valgrind $extraopts $vgopts $prog $args (progB: $progB $argsB)\n",
442 # progB.done used to detect child has finished. See below.
443 # Note: redirection of stdout and stderr is before $progB to allow argsB
446 mysystem("(rm -f progB.done;"
447 . " < $stdinB > $name.stdoutB.out 2> $name.stderrB.out $progB $argsB;"
448 . "touch progB.done) &");
450 mysystem("(rm -f progB.done;"
451 . " > $name.stdoutB.out 2> $name.stderrB.out $progB $argsB;"
452 . "touch progB.done) &");
501 if (defined $progB) {
509 # So, we search progB.done during max 100 times 100 millisecond.
512 (-f "progB.done") or select(undef, undef, undef, 0.100);