summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2006-04-26 11:37:53 -0700
committerunknown <jimw@mysql.com>2006-04-26 11:37:53 -0700
commit2d91c31b3d558c70dafdf794499047833bc90d02 (patch)
tree8a32fc8b4c947da3660f5b21c855c04fc65de1b3 /mysql-test/mysql-test-run.pl
parent19cae2e6999719b39041caee2c71e05923d44ddb (diff)
parent2c5c5fd489f4d74d7d1de5cbcef92aa80623f19f (diff)
downloadmariadb-git-2d91c31b3d558c70dafdf794499047833bc90d02.tar.gz
Merge mysql.com:/home/jimw/my/mysql-5.0-18617
into mysql.com:/home/jimw/my/mysql-5.0-clean mysql-test/mysql-test-run.pl: Resolve conflict
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl35
1 files changed, 11 insertions, 24 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index a1936f084ed..bc24b77207f 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -390,23 +390,8 @@ sub main () {
{
gprof_prepare();
}
-
- if ( $opt_start_dirty )
- {
- if ( ndbcluster_start($opt_with_ndbcluster) )
- {
- mtr_error("Can't start ndbcluster");
- }
- if ( mysqld_start('master',0,[],[],$using_ndbcluster_master) )
- {
- mtr_report("Servers started, exiting");
- }
- else
- {
- mtr_error("Can't start the mysqld server");
- }
- }
- elsif ( $opt_bench )
+
+ if ( $opt_bench )
{
initialize_servers();
run_benchmarks(shift); # Shift what? Extra arguments?!
@@ -2059,10 +2044,11 @@ sub run_testcase ($) {
}
# ----------------------------------------------------------------------
- # If --start-and-exit given, stop here to let user manually run tests
+ # If --start-and-exit or --start-dirty given, stop here to let user manually
+ # run tests
# ----------------------------------------------------------------------
- if ( $opt_start_and_exit )
+ if ( $opt_start_and_exit or $opt_start_dirty )
{
mtr_report("\nServers started, exiting");
exit(0);
@@ -3441,11 +3427,12 @@ Misc options
comment=STR Write STR to the output
script-debug Debug this script itself
timer Show test case execution time
- start-and-exit Only initiate and start the "mysqld" servers, use the startup
- settings for the specified test case if any
- start-dirty Only start the "mysqld" servers without initiation
- fast Don't try to cleanup from earlier runs
- reorder Reorder tests to get less server restarts
+ start-and-exit Only initialize and start the servers, using the
+ startup settings for the specified test case (if any)
+ start-dirty Only start the servers (without initialization) for
+ the specified test case (if any)
+ fast Don't try to clean up from earlier runs
+ reorder Reorder tests to get fewer server restarts
help Get this help text
unified-diff | udiff When presenting differences, use unified diff