1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Backported the --parallel=str option from mtr2 for backward compatibility

with the newer pb2 testing environments
This commit is contained in:
Georgi Kodinov
2009-09-02 16:36:52 +03:00
parent e254a67787
commit db8471aa85

View File

@ -302,6 +302,7 @@ our $debug_compiled_binaries;
our %mysqld_variables; our %mysqld_variables;
our $opt_parallel;
my $source_dist= 0; my $source_dist= 0;
our $opt_max_save_core= 5; our $opt_max_save_core= 5;
@ -645,6 +646,7 @@ sub command_line_setup () {
'testcase-timeout=i' => \$opt_testcase_timeout, 'testcase-timeout=i' => \$opt_testcase_timeout,
'suite-timeout=i' => \$opt_suite_timeout, 'suite-timeout=i' => \$opt_suite_timeout,
'warnings|log-warnings' => \$opt_warnings, 'warnings|log-warnings' => \$opt_warnings,
'parallel=s' => \$opt_parallel,
# Options which are no longer used # Options which are no longer used
(map { $_ => \&warn_about_removed_option } @removed_options), (map { $_ => \&warn_about_removed_option } @removed_options),
@ -5278,6 +5280,7 @@ Misc options
the specified test case (if any) the specified test case (if any)
fast Don't try to clean up from earlier runs fast Don't try to clean up from earlier runs
reorder Reorder tests to get fewer server restarts reorder Reorder tests to get fewer server restarts
parallel=STR Compatibility slot. Ignored.
help Get this help text help Get this help text
testcase-timeout=MINUTES Max test case run time (default $default_testcase_timeout) testcase-timeout=MINUTES Max test case run time (default $default_testcase_timeout)