Commit 3b251e24 authored by Sergei Golubchik's avatar Sergei Golubchik

Revert "Added --titlebar option to enable/disable the titlebar"

This reverts commit c675886d.

The bug was introduced in e3f5789a and fixed in 1af74d52

The option was introduced between those two commits and now it's
redundant again.
parent b30a0131
......@@ -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;
......@@ -909,7 +909,7 @@ sub run_test_server ($$$) {
delete $next->{reserved};
}
titlebar_stat(scalar(@$tests)) if $set_titlebar && $opt_titlebar;
titlebar_stat(scalar(@$tests)) if $set_titlebar;
if ($next) {
# We don't need this any more
......@@ -1246,7 +1246,6 @@ 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,
......@@ -6505,8 +6504,6 @@ 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