Commit c675886d authored by Monty's avatar Monty

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.
parent b99c3b20
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment