mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge branch '10.2' into bb-10.2-ext
This commit is contained in:
@ -91,6 +91,7 @@ use My::Platform;
|
||||
use My::SafeProcess;
|
||||
use My::ConfigFactory;
|
||||
use My::Options;
|
||||
use My::Tee;
|
||||
use My::Find;
|
||||
use My::SysInfo;
|
||||
use My::CoreDump;
|
||||
@ -386,6 +387,11 @@ sub main {
|
||||
initialize_servers();
|
||||
init_timers();
|
||||
|
||||
unless (IS_WINDOWS) {
|
||||
binmode(STDOUT,":via(My::Tee)") or die "binmode(STDOUT, :via(My::Tee)):$!";
|
||||
binmode(STDERR,":via(My::Tee)") or die "binmode(STDERR, :via(My::Tee)):$!";
|
||||
}
|
||||
|
||||
mtr_report("Checking supported features...");
|
||||
|
||||
executable_setup();
|
||||
@ -6255,7 +6261,8 @@ sub xterm_stat {
|
||||
my $done = $num_tests - $left;
|
||||
my $spent = time - $^T;
|
||||
|
||||
printf "\e];mtr: spent %s on %d tests. %s (%d tests) left\a",
|
||||
syswrite STDOUT, sprintf
|
||||
"\e];mtr: spent %s on %d tests. %s (%d tests) left\a",
|
||||
time_format($spent), $done,
|
||||
time_format($spent/$done * $left), $left;
|
||||
}
|
||||
|
Reference in New Issue
Block a user