|
|
'\" t.\" Title: \fBmysql-test-run.pl\fR.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author].\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>.\" Date: 03/31/2010.\" Manual: MySQL Database System.\" Source: MySQL.\" Language: English.\".TH "\FBMYSQL\-TEST\-RUN\" "1" "03/31/2010" "MySQL" "MySQL Database System".\" -----------------------------------------------------------------.\" * set default formatting.\" -----------------------------------------------------------------.\" disable hyphenation.nh.\" disable justification (adjust text to left margin only).ad l.\" -----------------------------------------------------------------.\" * MAIN CONTENT STARTS HERE *.\" -----------------------------------------------------------------.\" mysql-test-run.pl.SH "NAME"mysql-test-run.pl \- run MySQL test suite.SH "SYNOPSIS".HP \w'\fBmysql\-test\-run\&.pl\ [\fR\fB\fIoptions\fR\fR\fB]\fR\ 'u\fBmysql\-test\-run\&.pl [\fR\fB\fIoptions\fR\fR\fB]\fR.SH "DESCRIPTION".PPThe\fBmysql\-test\-run\&.pl\fRPerl script is the main application used to run the MySQL test suite\&. It invokes\fBmysqltest\fRto run individual test cases\&..PPInvoke\fBmysql\-test\-run\&.pl\fRin themysql\-testdirectory like this:.sp.if n \{\.RS 4.\}.nfshell> \fBmysql\-test\-run\&.pl [\fR\fB\fIoptions\fR\fR\fB] [\fR\fB\fItest_name\fR\fR\fB] \&.\&.\&.\fR.fi.if n \{\.RE.\}.PPEach\fItest_name\fRargument names a test case\&. The test case file that corresponds to the test name ist/\fItest_name\fR\&.test\&..PPFor each\fItest_name\fRargument,\fBmysql\-test\-run\&.pl\fRruns the named test case\&. With no\fItest_name\fRarguments,\fBmysql\-test\-run\&.pl\fRruns all\&.testfiles in thetsubdirectory\&..PPIf no suffix is given for the test name, a suffix of\&.testis assumed\&. Any leading path name is ignored\&. These commands are equivalent:.sp.if n \{\.RS 4.\}.nfshell> \fBmysql\-test\-run\&.pl mytest\fRshell> \fBmysql\-test\-run\&.pl mytest\&.test\fRshell> \fBmysql\-test\-run\&.pl t/mytest\&.test\fR.fi.if n \{\.RE.\}.PPA suite name can be given as part of the test name\&. That is, the syntax for naming a test is:.sp.if n \{\.RS 4.\}.nf[\fIsuite_name\fR\&.]\fItest_name\fR[\&.\fIsuffix\fR].fi.if n \{\.RE.\}.PPIf a suite name is given,\fBmysql\-test\-run\&.pl\fRlooks in that suite for the test\&. The test file corresponding to a test named\fIsuite_name\&.test_name\fRis found insuite/\fIsuite_name\fR/t/\fItest_name\fR\&.test\&. There is also an implicit suite namemainfor the tests in the toptdirectory\&. With no suite name,\fBmysql\-test\-run\&.pl\fRlooks in the default list of suites for a match and runs the test in any suites where it finds the test\&. Suppose that the default suite list ismain,binlog,rpl, and that a testmytest\&.testexists in themainandrplsuites\&. With an argument ofmytestormytest\&.test,\fBmysql\-test\-run\&.pl\fRwill runmytest\&.testfrom themainandrplsuites\&..PPTo run a family of test cases for which the names share a common prefix, use the\fB\-\-do\-test=\fR\fB\fIprefix\fR\fRoption\&. For example,\fB\-\-do\-test=rpl\fRruns the replication tests (test cases that have names beginning withrpl)\&.\fB\-\-skip\-test\fRhas the opposite effect of skipping test cases for which the names share a common prefix\&..PPThe argument for the\fB\-\-do\-test\fRand\fB\-\-skip\-test\fRoptions also allows more flexible specification of which tests to perform or skip\&. If the argument contains a pattern metacharacter other than a lone period, it is interpreted as a Perl regular expression and applies to test names that match the pattern\&. If the argument contains a lone period or does not contain any pattern metacharacters, it is interpreted the same way as previously and matches test names that begin with the argument value\&. For example,\fB\-\-do\-test=testa\fRmatches tests that begin withtesta,\fB\-\-do\-test=main\&.testa\fRmatches tests in themaintest suite that begin withtesta, and\fB\-\-do\-test=main\&.*testa\fRmatches test names that containmainfollowed bytestawith anything in between\&. In the latter case, the pattern match is not anchored to the beginning of the test name, so it also matches names such asxmainytesta\&..PPTo perform setup prior to running tests,\fBmysql\-test\-run\&.pl\fRneeds to invoke\fBmysqld\fRwith the\fB\-\-bootstrap\fRand\fB\-\-skip\-grant\-tables\fRoptions\&. If MySQL was configured with the\fB\-\-disable\-grant\-options\fRoption,\fB\-\-bootstrap\fR,\fB\-\-skip\-grant\-tables\fR, and\fB\-\-init\-file\fRwill be disabled\&. To handle this, set theMYSQLD_BOOTSTRAPenvironment variable to the full path name of a server that has all options enabled\&.\fBmysql\-test\-run\&.pl\fRwill use that server to perform setup; it is not used to run the tests\&..PPTheinit_filetest will fail if\fB\-\-init\-file\fRis disabled\&. This is an expected failure that can be handled as follows:.sp.if n \{\.RS 4.\}.nfshell> \fBexport MYSQLD_BOOTSTRAP\fRshell> \fBMYSQLD_BOOTSTRAP=/full/path/to/mysqld\fRshell> \fBmake test force="\-\-skip\-test=init_file"\fR.fi.if n \{\.RE.\}.PPTo run\fBmysql\-test\-run\&.pl\fRon Windows, you\'ll need either Cygwin or ActiveState Perl to run it\&. You may also need to install the modules required by the script\&. To run the test script, change location into themysql\-testdirectory, set theMTR_VS_CONFIGenvironment variable to the configuration you selected earlier (or use the\fB\-\-vs\-config\fRoption), and invoke\fBmysql\-test\-run\&.pl\fR\&. For example (using Cygwin and the\fBbash\fRshell):.sp.if n \{\.RS 4.\}.nfshell> \fBcd mysql\-test\fRshell> \fBexport MTR_VS_CONFIG=debug\fRshell> \fB\&./mysqltest\-run\&.pl \-\-force \-\-timer\fRshell> \fB\&./mysqltest\-run\&.pl \-\-force \-\-timer \-\-ps\-protocol\fR.fi.if n \{\.RE.\}.PP\fBmysql\-test\-run\&.pl\fRuses several environment variables\&. Some of them are listed in the following table\&. Some of these are set from the outside and used by\fBmysql\-test\-run\&.pl\fR, others are set by\fBmysql\-test\-run\&.pl\fRinstead, and may be referred to in tests\&..TSallbox tab(:);l ll ll ll ll ll ll ll ll ll ll ll l.T{\fBVariable\fRT}:T{\fBMeaning\fRT}T{MTR_VERSIONT}:T{If set to 1, will run the older version 1 of \fBmysql\-test\-run\&.pl\fR\&. This will affect what functionailty is available and what command line options are supported\&.T}T{MTR_MEMT}:T{If set to anything, will run tests with files in "memory" using tmpfs or ramdisk\&. Not available on Windows\&. Same as \fB\-\-mem\fR optionT}T{MTR_PARALLELT}:T{If set, defines number of parallel threads executing tests\&. Same as \fB\-\-parallel\fR optionT}T{MTR_BUILD_THREADT}:T{If set, defines which port number range is used for the serverT}T{MTR_PORT_BASET}:T{If set, defines which port number range is used for the serverT}T{MTR_\fINAME\fR_TIMEOUTT}:T{Setting of a timeout in minutes or seconds, corresponding to command line option \fB\-\-\fR\fB\fIname\fR\fR\fB\-timeout\fR\&. Avaliable timeout names are TESTCASE, SUITE (both in minutes) and START, SHUTDOWN (both in seconds)\&. These variables are supported from MySQL 5\&.1\&.44\&.T}T{MYSQL_TESTT}:T{Path name to \fBmysqltest\fR binaryT}T{MYSQLD_BOOTSTRAPT}:T{Full path name to \fBmysqld\fR that has all options enabledT}T{MYSQLTEST_VARDIRT}:T{Path name to the var directory that is used for logs, temporary files, and so forthT}T{MYSQL_TEST_DIRT}:T{Full path to the mysql\-test directory where tests are being run fromT}T{MYSQL_TMP_DIRT}:T{Path to temp directory used for temporary files during testsT}.TE.sp 1.PPThe variableMTR_PORT_BASEwas added in MySQL 5\&.1\&.45 as a more logical replacement forMTR_BUILD_THREAD\&. It gives the actual port number directly (will be rounded down to a multiple of 10)\&. If you useMTR_BUILD_THREAD, the port number is found by multiplying this by 10 and adding 10000\&..PPTests sometimes rely on certain environment variables being defined\&. For example, certain tests assume thatMYSQL_TESTis defined so that\fBmysqltest\fRcan invoke itself withexec $MYSQL_TEST\&..PPOther tests may refer to the last three variables listed in the preceeding table, to locate files to read or write\&. For example, tests that need to create files will typically put them in$MYSQL_TMP_DIR/\fIfile_name\fR\&..PPIf you are running\fBmysql\-test\-run\&.pl\fRversion 1 by settingMTR_VERSION, note that this only affects the test driver, not the test client (and its language) or the tests themselves\&..PPA few tests might not run with version 1 because they depend on some feature of version 2\&. You may have those tests skipped by adding the test name to the filelib/v1/incompatible\&.tests\&. This feature is available from MySQL 5\&.1\&.40\&..PP\fBmysql\-test\-run\&.pl\fRsupports the options in the following list\&. An argument of\fB\-\-\fRtells\fBmysql\-test\-run\&.pl\fRnot to process any following arguments as options\&..sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: help option.\" help option: mysql-test-run.pl\fB\-\-help\fR,\fB\-h\fR.spDisplay a help message and exit\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: big-test option.\" big-test option: mysql-test-run.pl\fB\-\-big\-test\fR.spAllow tests marked as "big" to run\&. Tests can be thus marked by including the line\fB\-\-source include/big_test\&.inc\fR, and they will only be run if this option is given, or if the environment variableBIG_TESTis set to 1\&..spThis is typically done for tests that take very long to run, or that use very much resources, so that they are not suitable for running as part of a normal test suite run\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: build-thread option.\" build-thread option: mysql-test-run.pl\fB\-\-build\-thread=\fR\fB\fInumber\fR\fR.spSpecify a number to calculate port numbers from\&. The formula is 10 *\fIbuild_thread\fR+ 10000\&. Instead of a number, it can be set toauto, which is also the default value, in which case\fBmysql\-test\-run\&.pl\fRwill allocate a number unique to this host\&..spThe value (number orauto) can also be set with theMTR_BUILD_THREADenvironment variable\&..spFrom MySQL 5\&.1\&.45, the more logical\fB\-\-port\-base\fRis supported as an alternative\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: callgrind option.\" callgrind option: mysql-test-run.pl\fB\-\-callgrind\fR.spInstructs\fBvalgrind\fRto use\fBcallgrind\fR\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: check-testcases option.\" check-testcases option: mysql-test-run.pl\fB\-\-check\-testcases\fR.spCheck test cases for side effects\&. This is done by checking system state before and after each test case; if there is any difference, a warning to that effect will be written, but the test case will not be marked as failed because of it\&. This check is enabled by default\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: client-bindir option.\" client-bindir option: mysql-test-run.pl\fB\-\-client\-bindir=\fR\fB\fIpath\fR\fR.spThe path to the directory where client binaries are located\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: client-ddd option.\" client-ddd option: mysql-test-run.pl\fB\-\-client\-ddd\fR.spStart\fBmysqltest\fRin the\fBddd\fRdebugger\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: client-debugger option.\" client-debugger option: mysql-test-run.pl\fB\-\-client\-debugger=\fR\fB\fIdebugger\fR\fR.spStart\fBmysqltest\fRin the named debugger\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: client-gdb option.\" client-gdb option: mysql-test-run.pl\fB\-\-client\-gdb\fR.spStart\fBmysqltest\fRin the\fBgdb\fRdebugger\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: client-libdir option.\" client-libdir option: mysql-test-run.pl\fB\-\-client\-libdir=\fR\fB\fIpath\fR\fR.spThe path to the directory where client libraries are located\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: combination option.\" combination option: mysql-test-run.pl\fB\-\-combination=\fR\fB\fIvalue\fR\fR.spExtra options to pass to\fBmysqld\fR\&. The value should consist of one or more comma\-separated\fBmysqld\fRoptions\&. This option is similar to\fB\-\-mysqld\fRbut should be given two or more times\&.\fBmysql\-test\-run\&.pl\fRexecutes multiple test runs, using the options for each instance of\fB\-\-combination\fRin successive runs\&. If\fB\-\-combination\fRis given only once, it has no effect\&. For test runs specific to a given test suite, an alternative to the use of\fB\-\-combination\fRis to create acombinationsfile in the suite directory\&. The file should contain a section of options for each test run\&. SeeSection\ \&4.9, \(lqPassing Options from mysql-test-run.pl to mysqld or mysqltest\(rq\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: comment option.\" comment option: mysql-test-run.pl\fB\-\-comment=\fR\fB\fIstr\fR\fR.spWrite\fIstr\fRto the output within lines filled with#, as a form of banner\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: compress option.\" compress option: mysql-test-run.pl\fB\-\-compress\fR.spCompress all information sent between the client and the server if both support compression\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: cursor-protocol option.\" cursor-protocol option: mysql-test-run.pl\fB\-\-cursor\-protocol\fR.spPass the\fB\-\-cursor\-protocol\fRoption to\fBmysqltest\fR(implies\fB\-\-ps\-protocol\fR)\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: ddd option.\" ddd option: mysql-test-run.pl\fB\-\-ddd\fR.spStart\fBmysqld\fRin the\fBddd\fRdebugger\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: debug option.\" debug option: mysql-test-run.pl\fB\-\-debug\fR.spDump trace output for all clients and servers\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: debugger option.\" debugger option: mysql-test-run.pl\fB\-\-debugger=\fR\fB\fIdebugger\fR\fR.spStart\fBmysqld\fRusing the named debugger\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: debug-sync-timeout option.\" debug-sync-timeout option: mysql-test-run.pl\fB\-\-debug\-sync\-timeout=\fR\fB\fIN\fR\fR.spControls whether the Debug Sync facility for testing and debugging is enabled\&. The option value is a timeout in seconds\&. The default value is 300\&. A value of 0 disables Debug Sync\&. The value of this option also becomes the default timeout for individual synchronization points\&..sp\fBmysql\-test\-run\&.pl\fRpasses\fB\-\-loose\-debug\-sync\-timeout=\fR\fB\fIN\fR\fRto\fBmysqld\fR\&. The\fB\-\-loose\fRprefix is used so that\fBmysqld\fRdoes not fail if Debug Sync is not compiled in\&..spFor information about using the Debug Sync facility for testing, seeSection\ \&4.14, \(lqThread Synchronization in Test Cases\(rq\&..spThis option was added in MySQL 5\&.1\&.41/5\&.5\&.0/6\&.0\&.6\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: defaults-file option.\" default-file option: mysql-test-run.pl\fB\-\-defaults\-file=\fR\fB\fIfile_name\fR\fR.spUse the named file as fixed config file template for all tests\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: defaults_extra_file option.\" default_extra_file option: mysql-test-run.pl\fB\-\-defaults_extra_file=\fR\fB\fIfile_name\fR\fR.spAdd setting from the named file to all generated configs\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: do-test option.\" do-test option: mysql-test-run.pl\fB\-\-do\-test=\fR\fB\fIprefix\fR\fR.spRun all test cases having a name that begins with the given\fIprefix\fRvalue\&. This option provides a convenient way to run a family of similarly named tests\&..spThe argument for the\fB\-\-do\-test\fRoption also allows more flexible specification of which tests to perform\&. If the argument contains a pattern metacharacter other than a lone period, it is interpreted as a Perl regular expression and applies to test names that match the pattern\&. If the argument contains a lone period or does not contain any pattern metacharacters, it is interpreted the same way as previously and matches test names that begin with the argument value\&. For example,\fB\-\-do\-test=testa\fRmatches tests that begin withtesta,\fB\-\-do\-test=main\&.testa\fRmatches tests in themaintest suite that begin withtesta, and\fB\-\-do\-test=main\&.*testa\fRmatches test names that containmainfollowed bytestawith anything in between\&. In the latter case, the pattern match is not anchored to the beginning of the test name, so it also matches names such asxmainytestz\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: embedded-server option.\" embedded-server option: mysql-test-run.pl\fB\-\-embedded\-server\fR.spUse a version of\fBmysqltest\fRbuilt with the embedded server\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: enable-disabled option.\" enable-disabled option: mysql-test-run.pl\fB\-\-enable\-disabled\fR.spIgnore anydisabled\&.deffile, and run also tests marked as disbaled\&. Success or failure of those tests will be reported the same way as other tests\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: experimental option.\" experimental option: mysql-test-run.pl\fB\-\-experimental=\fR\fB\fIfile_name\fR\fR.spSpecify a file that contains a list of test cases that should be displayed with the[ exp\-fail ]code rather than[ fail ]if they fail\&. This option was added in MySQL 5\&.1\&.33\&..spFor an example of a file that might be specified via this option, seemysql\-test/collections/default\&.experimental\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: extern option.\" extern option: mysql-test-run.pl\fB\-\-extern\fR\fIoption\fR=\fIvalue\fR.spUse an already running server\&. The option/value pair is what is needed by the\fBmysql\fRclient to connect to the server\&. Each\fB\-\-extern\fRcan only take one option/value pair as argument, so it you need more you need to repeat\fB\-\-extern\fRfor each of them\&. Example:.sp.if n \{\.RS 4.\}.nf \&./mysql\-test\-run\&.pl \-\-extern socket=var/tmp/mysqld\&.1\&.sock alias.fi.if n \{\.RE.\}.spNote: If a test case has an\&.optfile that requires the server to be restarted with specific options, the file will not be used\&. The test case likely will fail as a result\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: fast option.\" fast option: mysql-test-run.pl\fB\-\-fast\fR.spDo not perform controlled shutdown when servers need to be restarted or at the end of the test run\&. This is equivalent to using\-\-shutdown\-timeout=0\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: force option.\" force option: mysql-test-run.pl\fB\-\-force\fR.spNormally,\fBmysql\-test\-run\&.pl\fRexits if a test case fails\&.\fB\-\-force\fRcauses execution to continue regardless of test case failure\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: gcov option.\" gcov option: mysql-test-run.pl\fB\-\-gcov\fR.spRun tests with the\fBgcov\fRtest coverage tool\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: gdb option.\" gdb option: mysql-test-run.pl\fB\-\-gdb\fR.spStart\fBmysqld\fRin the\fBgdb\fRdebugger\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: gprof option.\" gprof option: mysql-test-run.pl\fB\-\-gprof\fR.spRun tests with the\fBgprof\fRprofiling tool\&.\fB\-\-gprof\fRwas added in 5\&.1\&.45\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: manual-ddd option.\" manual-ddd option: mysql-test-run.pl\fB\-\-manual\-ddd\fR.spUse a server that has already been started by the user in the\fBddd\fRdebugger\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: manual-debug option.\" manual-debug option: mysql-test-run.pl\fB\-\-manual\-debug\fR.spUse a server that has already been started by the user in a debugger\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: manual-gdb option.\" manual-gdb option: mysql-test-run.pl\fB\-\-manual\-gdb\fR.spUse a server that has already been started by the user in the\fBgdb\fRdebugger\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: mark-progress option.\" mark-progress option: mysql-test-run.pl\fB\-\-mark\-progress\fR.spMarks progress with timing (in milliseconds) and line number invar/log/\fItestname\fR\&.progress\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: max-connections option.\" max-connections option: mysql-test-run.pl\fB\-\-max\-connections=\fR\fB\fInum\fR\fR.spThe maximum number of simultaneous server connections that may be used per test\&. If not set, the maximum is 128\&. Minimum allowed limit is 8, maximum is 5120\&. Corresponds to the same option for\fBmysqltest\fR\&..spThis option is available from MySQL 5\&.1\&.45\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: max-save-core option.\" max-save-core option: mysql-test-run.pl\fB\-\-max\-save\-core=\fR\fB\fIN\fR\fR.spLimit the number of core files saved, to avoid filling up disks in case of a frequently crashing server\&. Defaults to 5, set to 0 for no limit\&. May also be set with the environment variableMTR_MAX_SAVE_CORE.RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: max-save-datadir option.\" max-save-datadir option: mysql-test-run.pl\fB\-\-max\-save\-datadir=\fR\fB\fIN\fR\fR.spLimit the number of data directories saved after failed tests, to avoid filling up disks in case of frequent failures\&. Defaults to 20, set to 0 for no limit\&. May also be set with the environment variableMTR_MAX_SAVE_DATADIR.RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: max-test-fail option.\" max-test-fail option: mysql-test-run.pl\fB\-\-max\-test\-fail=\fR\fB\fIN\fR\fR.spStop execution after the specified number of tests have failed, to avoid using up resources (and time) in case of massive failures\&. retries are noe counted, nor are failures of tests marked experimental\&. Defaults to 10, set to 0 for no limit\&. May also be set with the environment variableMTR_MAX_TEST_FAIL.RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: mem option.\" mem option: mysql-test-run.pl\fB\-\-mem\fR.spThis option is not supported on Windows\&..spRun the test suite in memory, using tmpfs or ramdisk\&. This can decrease test times significantly, in particular if you would otherwise be running over a remote file system\&.\fBmysql\-test\-run\&.pl\fRattempts to find a suitable location using a built\-in list of standard locations for tmpfs and puts thevardirectory there\&. This option also affects placement of temporary files, which are created invar/tmp\&..spThe default list includes/dev/shm\&. You can also enable this option by setting the environment variableMTR_MEM[=\fIdir_name\fR]\&. If\fIdir_name\fRis given, it is added to the beginning of the list of locations to search, so it takes precedence over any built\-in locations\&..spOnce you have run tests with\fB\-\-mem\fRwithin amysql\-testdirectory, a soflinkvarwill have been set up to the temporary directory, and this will be re\-used the next time, until the soflink is deleted\&. Thus, you do not have to repeat the\fB\-\-mem\fRoption next time\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: mysqld option.\" mysqld option: mysql-test-run.pl\fB\-\-mysqld=\fR\fB\fIvalue\fR\fR.spExtra options to pass to\fBmysqld\fR\&. The value should consist of one or more comma\-separated\fBmysqld\fRoptions\&. SeeSection\ \&4.9, \(lqPassing Options from mysql-test-run.pl to mysqld or mysqltest\(rq\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: ndb-connectstring option.\" ndb-connectstring option: mysql-test-run.pl\fB\-\-ndb\-connectstring=\fR\fB\fIstr\fR\fR.spPass\fB\-\-ndb\-connectstring=\fR\fB\fIstr\fR\fRto the master MySQL server\&. This option also prevents\fBmysql\-test\-run\&.pl\fRfrom starting a cluster\&. It is assumed that there is already a cluster running to which the server can connect with the given connectstring\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: nocheck-testcases option.\" nocheck-testcases option: mysql-test-run.pl\fB\-\-nocheck\-testcases\fR.spDisable the check for test case side effects; see\fB\-\-check\-testcases\fRfor a description\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: noreorder option.\" noreorder option: mysql-test-run.pl\fB\-\-noreorder\fR.spDo not reorder tests to reduce number of restarts, but run them in exactly the order given\&. If a whole suite is to be run, the tests are run in alphabetical order, though similiar combinations will be grouped together\&. If more than one suite is listed, the tests are run one suite at a time, in the order listed\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: notimer option.\" notimer option: mysql-test-run.pl\fB\-\-notimer\fR.spCause\fBmysqltest\fRnot to generate a timing file\&. The effect of this is that the report from each test case does not include the timing in milliseconds as it normally does\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: nowarnings option.\" nowarnings option: mysql-test-run.pl\fB\-\-nowarnings\fR.spDo not look for and report errors and warning in the server logs\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: parallel option.\" parallel option: mysql-test-run.pl\fB\-\-parallel={\fR\fB\fIN\fR\fR\fB|auto}\fR.spRun tests using\fIN\fRparallel threads\&. By default, 1 thread is used\&. Use\fB\-\-parallel=auto\fRfor auto\-setting of\fIN\fR\&. The auto value was added in MySQL 5\&.1\&.36\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: port-base option.\" port-base option: mysql-test-run.pl\fB\-\-port\-base=\fR\fB\fIP\fR\fR.spSpecify base of port numbers to be used; a block of 10 will be allocated\&.\fIP\fRshould be divisible by 10; if it is not, it will be rounded down\&. If running with more than one parallel test thread, thread 2 will use the next block of 10 and so on\&..spIf the port number is given asauto, which is also the default,\fBmysql\-test\-run\&.pl\fRwill allocate a number unique to this host\&. The value may also be given with the environment variableMTR_PORT_BASE\&..sp\fB\-\-port\-base\fRwas added in MySQL 5\&.1\&.45 as a more logical alternative to\fB\-\-build\-thread\fR\&. If both are used,\fB\-\-port\-base\fRtakes presedence\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: print-testcases option.\" print-testcases option: mysql-test-run.pl\fB\-\-print\-testcases\fR.spDo not run any tests, but print details about all tests, in the order they would have been run\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: ps-protocol option.\" ps-protocol option: mysql-test-run.pl\fB\-\-ps\-protocol\fR.spPass the\fB\-\-ps\-protocol\fRoption to\fBmysqltest\fR\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: record option.\" record option: mysql-test-run.pl\fB\-\-record\fR.spPass the\fB\-\-record\fRoption to\fBmysqltest\fR\&. This option requires a specific test case to be named on the command line\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: reorder option.\" reorder option: mysql-test-run.pl\fB\-\-reorder\fR.spReorder tests to minimize the number of server restarts needed\&. This is the default behavior\&. There is no guarantee that a particular set of tests will always end up in the same order\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: repeat option.\" repeat option: mysql-test-run.pl\fB\-\-repeat=\fR\fB\fIN\fR\fR.spRun each test\fIN\fRnumber of times\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: report-features option.\" report-features option: mysql-test-run.pl\fB\-\-report\-features\fR.spDisplay the output ofSHOW ENGINESandSHOW VARIABLES\&. This can be used to verify that binaries are built with all required features\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: retry option.\" retry option: mysql-test-run.pl\fB\-\-retry=\fR\fB\fIN\fR\fR.spIf a test fails, it is retried up to a maximum of\fIN\fRruns, but will terminate after 2 failures\&. Default is 3, set to 1 or 0 for no retries\&. This option has no effect unless\fB\-\-force\fRis also used; without it, test execution will terminate after the first failure\&..spThe\fB\-\-retry\fRand\fB\-\-retry\-failure\fRoptions do not affect how many times a test repeated with\fB\-\-repeat\fRmay fail in total, as each repetition is considered a new test case, which may in turn be retried if it fails\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: retry-failure option.\" retry-failure option: mysql-test-run.pl\fB\-\-retry\-failure=\fR\fB\fIN\fR\fR.spAllow a failed and retried test to fail more than the default 2 times before giving it up\&. Setting it to 0 or 1 effectively turns off retries.RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: shutdown-timeout option.\" shutdown-timeout option: mysql-test-run.pl\fB\-\-shutdown\-timeout=\fR\fB\fISECONDS\fR\fR.spMax number of seconds to wait for servers to do controlled shutdown before killing them\&. Default is 10\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: skip-combinations option.\" skip-combinations option: mysql-test-run.pl\fB\-\-skip\-combinations\fR.spDo not apply combinations; ignore combinations file or option\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: skip-ndbcluster option.\" skip-ndbcluster option: mysql-test-run.pl\fB\-\-skip\-ndbcluster\fR,.\" mysql-test-run.pl: skip-ndb option.\" skip-ndb option: mysql-test-run.pl\fB\-\-skip\-ndb\fR.spDo not start NDB Cluster; skip Cluster test cases\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: skip-ndbcluster-slave option.\" skip-ndbcluster-slave option: mysql-test-run.pl\fB\-\-skip\-ndbcluster\-slave\fR,.\" mysql-test-run.pl: skip-ndb-slave option.\" skip-ndb-slave option: mysql-test-run.pl\fB\-\-skip\-ndb\-slave\fR.spDo not start an NDB Cluster slave\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: skip-rpl option.\" skip-rpl option: mysql-test-run.pl\fB\-\-skip\-rpl\fR.spSkip replication test cases\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: skip-ssl option.\" skip-ssl option: mysql-test-run.pl\fB\-\-skip\-ssl\fR.spDo not start\fBmysqld\fRwith support for SSL connections\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: skip-test option.\" skip-test option: mysql-test-run.pl\fB\-\-skip\-test=\fR\fB\fIregex\fR\fR.spSpecify a regular expression to be applied to test case names\&. Cases with names that match the expression are skipped\&. tests to skip\&..spThe argument for the\fB\-\-skip\-test\fRoption allows more flexible specification of which tests to skip\&. If the argument contains a pattern metacharacter other than a lone period, it is interpreted as a Perl regular expression and applies to test names that match the pattern\&. See the description of the\fB\-\-do\-test\fRoption for details\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}\fB\-\-skip\-*\fR.sp\fB\-\-skip\-*\fRoptions not otherwise recognized by\fBmysql\-test\-run\&.pl\fRare passed to the master server\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: sleep option.\" sleep option: mysql-test-run.pl\fB\-\-sleep=\fR\fB\fIN\fR\fR.spPass\fB\-\-sleep=\fR\fB\fIN\fR\fRto\fBmysqltest\fR\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: sp-protocol option.\" sp-protocol option: mysql-test-run.pl\fB\-\-sp\-protocol\fR.spPass the\fB\-\-sp\-protocol\fRoption to\fBmysqltest\fR\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: ssl option.\" ssl option: mysql-test-run.pl\fB\-\-ssl\fR.spIf\fBmysql\-test\-run\&.pl\fRis started with the\fB\-\-ssl\fRoption, it sets up a secure conection for all test cases\&. In this case, if\fBmysqld\fRdoes not support SSL,\fBmysql\-test\-run\&.pl\fRexits with an error message:Couldn\'t find support for SSL.RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: start-and-exit option.\" start-and-exit option: mysql-test-run.pl\fB\-\-start\fR.spInitialize and start servers with the startup settings for the specified test case\&. You can use this option to start a server to which you can connect later\&. For example, after building a source distribution you can start a server and connect to it with the\fBmysql\fRclient like this:.sp.if n \{\.RS 4.\}.nfshell> \fBcd mysql\-test\fRshell> \fB\&./mysql\-test\-run\&.pl \-\-start alias &\fRshell> \fB\&.\&./mysql \-S \&./var/tmp/master\&.sock \-h localhost \-u root\fR.fi.if n \{\.RE.\}.spIf no tests are named on the command line, the server(s) will be started with settings for the first test that would have been run without the\fB\-\-start\fRoption\&..sp\fBmysql\-test\-run\&.pl\fRwill stop once the server has been started, but will terminate if the server dies\&. If killed, it will also shut down the server\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: start-dirty option.\" start-dirty option: mysql-test-run.pl\fB\-\-start\-dirty\fR.spThis is similar to\fB\-\-start\fR, but will skip the database initialization phase and assume that database files are already available\&. Usually this means you must have run another test first\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: start-from option.\" start-from option: mysql-test-run.pl\fB\-\-start\-from=\fR\fB\fItest_name\fR\fR.sp\fBmysql\-test\-run\&.pl\fRsorts the list of names of the test cases to be run, and then begins with\fItest_name\fR\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: strace-client option.\" strace-client option: mysql-test-run.pl\fB\-\-strace\-client\fR.spCreate\fBstrace\fRoutput for\fBmysqltest\fR\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: suite option.\" suite option: mysql-test-run.pl\fB\-\-suite=\fR\fB\fIsuite_name\fR\fR.spRun the named test suite\&. The default name ismain(the regular test suite located in themysql\-testdirectory)\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: suite-timeout option.\" suite-timeout option: mysql-test-run.pl\fB\-\-suite\-timeout=\fR\fB\fIminutes\fR\fR.spSpecify the maximum test suite runtime\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: testcase-timeout option.\" testcase-timeout option: mysql-test-run.pl\fB\-\-testcase\-timeout\fR.spSpecify the maximum test case runtime\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: timediff option.\" timediff option: mysql-test-run.pl\fB\-\-timediff\fR.spAdds to each test report for a test case, the total time in sconds and milliseconds passed since the preceding test ended\&. This option can only be used together with\fB\-\-timestamp\fR, and has no effect without it\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: timer option.\" timer option: mysql-test-run.pl\fB\-\-timer\fR.spCause\fBmysqltest\fRto generate a timing file\&. The default file is named\&./var/log/timer\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: timestamp option.\" timestamp option: mysql-test-run.pl\fB\-\-timestamp\fR.spPrints a timestamp before the test case name in each test report line, showing when the test ended\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: tmpdir option.\" tmpdir option: mysql-test-run.pl\fB\-\-tmpdir=\fR\fB\fIpath\fR\fR.spThe directory where temporary file are stored\&. The default location is\&./var/tmp\&. The environment variableMYSQL_TMP_DIRwill be set to the path for this directory, whether it has the default value or has been set explicitly\&. This may be referred to in tests\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: user option.\" user option: mysql-test-run.pl\fB\-\-user=\fR\fB\fIuser_name\fR\fR.spThe MySQL user name to use when connecting to the server\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: valgrind option.\" valgrind option: mysql-test-run.pl\fB\-\-valgrind\fR.spRun\fBmysqltest\fRand\fBmysqld\fRwith\fBvalgrind\fR\&. Thiks and the following\fB\-\-valgrind\fRoptions require that the executables have been build with\fBvalgrind\fRsupport\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: valgrind-mysqld option.\" valgrind-mysqld option: mysql-test-run.pl\fB\-\-valgrind\-mysqld\fR.spRun the\fBmysqld\fRserver with\fBvalgrind\fR\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: valgrind-mysqltest option.\" valgrind-mysqltest option: mysql-test-run.pl\fB\-\-valgrind\-mysqltest\fR.spRun\fBmysqltest\fRwith\fBvalgrind\fR\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: valgrind-options option.\" valgrind-options option: mysql-test-run.pl\fB\-\-valgrind\-option=\fR\fB\fIstr\fR\fR.spExtra options to pass to\fBvalgrind\fR\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: valgrind-path option.\" valgrind-path option: mysql-test-run.pl\fB\-\-valgrind\-path=\fR\fB\fIpath\fR\fR.spSpecify the path name to the\fBvalgrind\fRexecutable\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: vardir option.\" vardir option: mysql-test-run.pl\fB\-\-vardir=\fR\fB\fIpath\fR\fR.spSpecify the path where files generated during the test run are stored\&. The default location is\&./var\&. The environment variableMYSQLTEST_VARDIRwill be set to the path for this directory, whether it has the default value or has been set explicitly\&. This may be referred to in tests\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: verbose option.\" verbose option: mysql-test-run.pl\fB\-\-verbose\fR.spGive more verbose output regarding test execution\&. Use the option twice to get even more output\&. Note that the output generated within each test case is not affected\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: verbose-restart option.\" verbose-restart option: mysql-test-run.pl\fB\-\-verbose\-restart\fR.spWrite when and why servers are restarted between test cases\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: view-protocol option.\" view-protocol option: mysql-test-run.pl\fB\-\-view\-protocol\fR.spPass the\fB\-\-view\-protocol\fRoption to\fBmysqltest\fR\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: vs-config option.\" vs-config option: mysql-test-run.pl\fB\-\-vs\-config=\fR\fB\fIconfig_val\fR\fR.spSpecify the configuration used to build MySQL (for example,\fB\-\-vs\-config=debug\fR\fB\-\-vs\-config=release\fR)\&. This option is for Windows only\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: wait-all option.\" wait-all option: mysql-test-run.pl\fB\-\-wait\-all\fR.spIf\fB\-\-start\fRor\fB\-\-start\-dirty\fRis used, wait for all servers to exit before termination\&. Otherise, it will terminate if one (of several) servers is restarted\&..spThis option was added in MySQL 5\&.1\&.36\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: warnings option.\" warnings option: mysql-test-run.pl\fB\-\-warnings\fR.spSearch the server log for errors or warning after each test and report any suspicious ones; if any are found, the test will be marked as failed\&. This is the default behavior, it may be turned off with\fB\-\-nowarnings\fR\&..RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}.\" mysql-test-run.pl: with-ndbcluster-only option.\" with-ndbcluster-only option: mysql-test-run.pl\fB\-\-with\-ndbcluster\-only\fR.spRun only test cases that havendbin their name\&..RE.SH "COPYRIGHT".br.PPCopyright \(co 2007, 2010, Oracle and/or its affiliates. All rights reserved..PPThis documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License..PPThis documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details..PPYou should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/..sp.SH "SEE ALSO"For more information, please refer to the MySQL Reference Manual,which may already be installed locally and which is also availableonline at http://dev.mysql.com/doc/..SH AUTHORSun Microsystems, Inc. (http://www.mysql.com/).
|