diff options
author | Monty <monty@mariadb.org> | 2020-05-09 12:50:50 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2020-05-09 12:50:50 +0300 |
commit | c675886dcdecd29571bd08605a409325ee81004c (patch) | |
tree | f8297f1adfe32253e394f328667311649f1cb97a | |
parent | b99c3b20c91c36fea5052b5b801f90cbbe81fc21 (diff) | |
download | mariadb-git-c675886dcdecd29571bd08605a409325ee81004c.tar.gz |
Added --titlebar option to enable/disable the titlebar
The titlebar scrambled var/log/Stdout.log and can becasue of this not be
on by default.
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 0991695bf51..eeff1f0cf7a 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -365,7 +365,7 @@ my $opt_max_save_core= env_or_val(MTR_MAX_SAVE_CORE => 5); my $opt_max_save_datadir= env_or_val(MTR_MAX_SAVE_DATADIR => 20); my $opt_max_test_fail= env_or_val(MTR_MAX_TEST_FAIL => 10); my $opt_core_on_failure= 0; - +my $opt_titlebar= 0; my $opt_parallel= $ENV{MTR_PARALLEL} || 1; my $opt_port_group_size = $ENV{MTR_PORT_GROUP_SIZE} || 20; @@ -908,7 +908,7 @@ sub run_test_server ($$$) { delete $next->{reserved}; } - titlebar_stat(scalar(@$tests)) if $set_titlebar; + titlebar_stat(scalar(@$tests)) if $set_titlebar && $opt_titlebar; if ($next) { # We don't need this any more @@ -1245,6 +1245,7 @@ sub command_line_setup { 'start-and-exit' => \$opt_start_exit, 'start' => \$opt_start, 'user-args' => \$opt_user_args, + 'titlebar' => \$opt_titlebar, 'wait-all' => \$opt_wait_all, 'print-testcases' => \&collect_option, 'repeat=i' => \$opt_repeat, @@ -6502,6 +6503,8 @@ Misc options leaves just the server running start-dirty Only start the servers (without initialization) for the first specified test case + titlebar Enable progress stats on the windows title bar. Works + on Windows and Xterm. user-args In combination with start* and no test name, drops arguments to mysqld except those specified with --mysqld (if any) |