diff options
author | Bjorn Munch <bjorn.munch@oracle.com> | 2011-02-28 16:11:53 +0100 |
---|---|---|
committer | Bjorn Munch <bjorn.munch@oracle.com> | 2011-02-28 16:11:53 +0100 |
commit | 5cfa1ed1663587dcd58ae3367d9010ce339b26ee (patch) | |
tree | d2d2409b814c9c3e0bda79d90f3c745644ae4e56 /mysql-test/lib/mtr_report.pm | |
parent | d8100a7cb2910b52d77ad5a562241d8403ac112b (diff) | |
parent | 4a54e5adb157a7eb9bbee84d7aa233ad1fb087a0 (diff) | |
download | mariadb-git-5cfa1ed1663587dcd58ae3367d9010ce339b26ee.tar.gz |
Attempt at solving missing end of mtr output on Windows
Diffstat (limited to 'mysql-test/lib/mtr_report.pm')
-rw-r--r-- | mysql-test/lib/mtr_report.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/lib/mtr_report.pm b/mysql-test/lib/mtr_report.pm index dcf83260720..2fec916c724 100644 --- a/mysql-test/lib/mtr_report.pm +++ b/mysql-test/lib/mtr_report.pm @@ -32,6 +32,7 @@ our @EXPORT= qw(report_option mtr_print_line mtr_print_thick_line use mtr_match; use My::Platform; use POSIX qw[ _exit ]; +use IO::Handle qw[ flush ]; require "mtr_io.pl"; my $tot_real_time= 0; @@ -487,6 +488,7 @@ sub mtr_warning (@) { # Print error to screen and then exit sub mtr_error (@) { + IO::Handle::flush(\*STDOUT) if IS_WINDOWS; print STDERR _name(). _timestamp(). "mysql-test-run: *** ERROR: ". join(" ", @_). "\n"; if (IS_WINDOWS) |