diff options
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-x | tests/runtests.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index 30ae0b349..577f23467 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -496,6 +496,9 @@ sub startnew { if(0 == $child) { # Here we are the child. Run the given command. + # Flush output. + $| = 1; + # Put an "exec" in front of the command so that the child process # keeps this child's process ID. exec("exec $cmd") || die "Can't exec() $cmd: $!"; @@ -4108,6 +4111,9 @@ sub singletest { close(GDBCMD); } + # Flush output. + $| = 1; + # timestamp starting of test command $timetoolini{$testnum} = Time::HiRes::time(); |