|
365 | 365 | my $opt_max_save_datadir= env_or_val(MTR_MAX_SAVE_DATADIR => 20);
|
366 | 366 | my $opt_max_test_fail= env_or_val(MTR_MAX_TEST_FAIL => 10);
|
367 | 367 | my $opt_core_on_failure= 0;
|
368 |
| - |
| 368 | +my $opt_titlebar= 0; |
369 | 369 | my $opt_parallel= $ENV{MTR_PARALLEL} || 1;
|
370 | 370 | my $opt_port_group_size = $ENV{MTR_PORT_GROUP_SIZE} || 20;
|
371 | 371 |
|
@@ -908,7 +908,7 @@ ($$$)
|
908 | 908 | delete $next->{reserved};
|
909 | 909 | }
|
910 | 910 |
|
911 |
| - titlebar_stat(scalar(@$tests)) if $set_titlebar; |
| 911 | + titlebar_stat(scalar(@$tests)) if $set_titlebar && $opt_titlebar; |
912 | 912 |
|
913 | 913 | if ($next) {
|
914 | 914 | # We don't need this any more
|
@@ -1245,6 +1245,7 @@ sub command_line_setup {
|
1245 | 1245 | 'start-and-exit' => \$opt_start_exit,
|
1246 | 1246 | 'start' => \$opt_start,
|
1247 | 1247 | 'user-args' => \$opt_user_args,
|
| 1248 | + 'titlebar' => \$opt_titlebar, |
1248 | 1249 | 'wait-all' => \$opt_wait_all,
|
1249 | 1250 | 'print-testcases' => \&collect_option,
|
1250 | 1251 | 'repeat=i' => \$opt_repeat,
|
@@ -6502,6 +6503,8 @@ ($)
|
6502 | 6503 | leaves just the server running
|
6503 | 6504 | start-dirty Only start the servers (without initialization) for
|
6504 | 6505 | the first specified test case
|
| 6506 | + titlebar Enable progress stats on the windows title bar. Works |
| 6507 | + on Windows and Xterm. |
6505 | 6508 | user-args In combination with start* and no test name, drops
|
6506 | 6509 | arguments to mysqld except those specified with
|
6507 | 6510 | --mysqld (if any)
|
|
0 commit comments