summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
Commit message (Collapse)AuthorAgeFilesLines
* Merge bk-internal.mysql.com:/home/bk/mysql-4.1-maintunknown2007-01-311-0/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-4.1-maint configure.in: Auto merged mysql-test/mysql-test-run.pl: Auto merged scripts/mysqld_multi.sh: Auto merged sql/mysqld.cc: Auto merged
| * Implement mysql-test-run.pl option to limit the number of saved coreunknown2007-01-191-0/+8
| | | | | | | | | | | | | | | | | | files. This helps stability of multiple parallel automated test runs, avoiding the situation where one bad build fills up disk with 1000s of core files, causing failures in other test runs.
* | after-merge fixunknown2007-01-221-1/+1
| |
* | Merge ↵unknown2007-01-221-0/+6
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build-work1-testcases-20061 into kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build-work BUILD/check-cpu: Auto merged mysql-test/mysql-test-run.pl: Auto merged mysql-test/t/myisam.test: Auto merged
| * Use a temporary directory for sockets if the socket path becomes too long.unknown2006-12-181-0/+6
| |
* | Count number of masters the test is actually using and only start asunknown2006-12-201-6/+20
| | | | | | | | | | | | | | many as neeeded
* | When running with --valgrind and --debug send all the output fromunknown2006-12-201-0/+13
| | | | | | | | | | | | | | mysqld and valgrind to tracefile.
* | Add possibility to activate --mark-progress of mysqltestunknown2006-12-201-0/+7
| |
* | Pass --no-defaults to embedded server to avoid that it reads any defaults fileunknown2006-12-111-3/+2
|/ | | | | mysql-test/mysql-test-run.pl: Pass "--no-defaults" to embedded server as "--server-arg=--no-defaults"
* Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1unknown2006-12-041-1/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint Makefile.am: Auto merged client/mysqltest.c: Auto merged mysql-test/lib/mtr_process.pl: Auto merged mysql-test/mysql-test-run.pl: Auto merged sql/mysqld.cc: Auto merged
| * minor fixunknown2006-11-291-1/+0
| | | | | | | | | | mysql-test/mysql-test-run.pl: remove dependency on Data::Dumper, it's not used anywhere
* | Merge neptunus.(none):/home/msvensson/mysql/bug10608/my41-bug10608unknown2006-11-301-0/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint mysql-test/mysql-test-run.pl: Auto merged
| * | Bug#10608 mysqladmin breaks on "database" variable in my.cnfunknown2006-11-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add printout of "Warning" or "Note" for non error messages in default_reporter - Add test for the above in new mysqladmin.test mysql-test/mysql-test-run.pl: Add support for mysqladmin to mysql-test-run.pl mysys/my_getopt.c: Add printout of Warning: or Info: in 'default_reporter', this will make the user aware of the problem but can filter it as a warning or note. mysql-test/r/mysqladmin.result: New BitKeeper file ``mysql-test/r/mysqladmin.result'' mysql-test/t/mysqladmin.test: New BitKeeper file ``mysql-test/t/mysqladmin.test''
* | | Merge neptunus.(none):/home/msvensson/mysql/work/my41-workunknown2006-11-291-2/+23
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint mysql-test/mysql-test-run.pl: Auto merged
| * | | After 5.1.6 just turn on logging, it will be sent to tables by defaultunknown2006-11-291-0/+10
| | | |
| * | | Move the check that $opt_vardir could be created and was writable to the ↵unknown2006-11-281-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function where we know how to creat the vardir Remove unused variable
* | | | Merge neptunus.(none):/home/msvensson/mysql/work/my41-workunknown2006-11-281-18/+7
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint mysql-test/mysql-test-run.pl: Auto merged
| * | | Bug#24335 mysql-test-run.pl fails with ActiveState Perl on Windowsunknown2006-11-281-18/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Avoid use of mtr_run when executing "mysqld --verbose --help" to find version and supported features mysql-test/mysql-test-run.pl: Don't use mtr_run when executing "mysqld --verbose --help" to find version and supported features.
* | | | Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1unknown2006-11-281-0/+12
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint client/mysqltest.c: Auto merged Makefile.am: Manual merge mysql-test/mysql-test-run.pl: Manual merge
| * | | MTR_BUILD_THREAD=auto selects a value for MTR_BUILD_THREAD from a pool (WL#2690)unknown2006-11-171-0/+10
| | | | | | | | | | | | | | | | | | | | mysql-test/lib/mtr_unique.pl: Library file used by mysql-test-run.pl to determine unique test run identifiers.
* | | | Merge neptunus.(none):/home/msvensson/mysql/work/my41-workunknown2006-11-281-2/+3
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint mysql-test/mysql-test-run.pl: Auto merged
| * | | Look for client binaries also in bin/ directoryunknown2006-11-281-2/+3
| | | |
* | | | Merge neptunus.(none):/home/msvensson/mysql/work/my41-workunknown2006-11-281-22/+41
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint mysql-test/mysql-test-run.pl: Auto merged
| * | | Create new function "run_testcase_mark_logs' and use it to mark start of ↵unknown2006-11-281-19/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | testcase in all cuurently known log files
| * | | Only force mysqld to use log file up until 5.1.6unknown2006-11-281-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After that it will by default use log tables. That setting can be overruled by adding a -master.opt file like mysql_client_test has.
* | | | Remove the check for writable var dir, it has to be done later onunknown2006-11-281-7/+0
| | | |
* | | | Merge neptunus.(none):/home/msvensson/mysql/work/my41-workunknown2006-11-281-5/+14
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint mysql-test/mysql-test-run.pl: Auto merged
| * | | Add warnings and more error checks in the creation of vardirsunknown2006-11-281-5/+14
| | | |
* | | | Merge neptunus.(none):/home/msvensson/mysql/work/my41-workunknown2006-11-281-17/+25
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint mysql-test/mysql-test-run.pl: Auto merged
| * | | Some more checks to avoid removing unwanted directories.unknown2006-11-281-6/+20
| | | |
| * | | No need to have a "created_by_mem" file, just read the link andunknown2006-11-281-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | if that is same as opt_mem it can be removed
| * | | Rename function datadir_setup to datadir_list_setup to avoid mixupunknown2006-11-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | with the function where vardir's are created
* | | | Merge neptunus.(none):/home/msvensson/mysql/work/my41-workunknown2006-11-281-18/+69
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint mysql-test/mysql-test-run.pl: Auto merged
| * | | Bug#24354 option "--extern" of mysql-test-run.pl does not work anymoreunknown2006-11-281-18/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Better control of when to create/remove vardir mysql-test/mysql-test-run.pl: Split the part the function cleanup_stale_files in two parts - one that removes any old var directories - one that setup var in te proper location If running against extern server and no vardir has been created in the specified location, run the latter function to create the vardir structure. Else print message saying the vardir already exists and continue.
| * | | Fix problem with mysqladmin logging to var/log before var has been createdunknown2006-11-281-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And if var/ has been created, it will be recreated later so the logs from "mtr_kill_leftovers" will be lost anyway mysql-test/mysql-test-run.pl: Don't create vardir before mtr_kill_leftovers mysql-test/lib/mtr_process.pl: Send output - if any - from mysqladmin to stdout/stderr. There shouldn't be any such errors and if any occur, it's good to know about them.
| * | | Backport of patch for bug#24471unknown2006-11-281-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql-test/lib/mtr_report.pl: Don't output "skipped" comment if there is none (bug#24471) mysql-test/mysql-test-run.pl: Removed "use diagnostics", reduces Perl speed significantly. Can be enabled with "perl -Mdiagnostics mysql-test-run.pl".
* | | | Fix problem with mysqladmin logging to var/log before var has been createdunknown2006-11-281-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And if var/ has been created, it will be recreated later so the logs will be lost mysql-test/lib/mtr_process.pl: Send output - if any - from mysqladmin to stdout/stderr. There shouldn't be any such errors and if any occur, it's good to know about them. mysql-test/mysql-test-run.pl: Don't create vardir before mtr_kill_leftovers
* | | | Backport of patch for bug#24471unknown2006-11-281-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql-test-run.pl: Removed "use diagnostics", reduces Perl speed significantly. Can be enabled with "perl -Mdiagnostics mysql-test-run.pl". mtr_report.pl: Don't try output "skipped" comment if there is none (bug#24471) mysql-test/lib/mtr_report.pl: Don't try output "skipped" comment if there is none (bug#24471) mysql-test/mysql-test-run.pl: Removed "use diagnostics", reduces Perl speed significantly. Can be enabled with "perl -Mdiagnostics mysql-test-run.pl".
* | | | Merge bk-internal:/home/bk/mysql-4.1-maintunknown2006-11-241-1/+9
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint mysql-test/mysql-test-run.pl: Auto merged
| * | | Do not link /usr/lib/debug/* on Debian <=3.1, as it causes broken stackunknown2006-11-241-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | traces in Valgrind (broken libc6-dbg). Installing libc6-dbg on Debian will still provide proper bactraces, even without setting LD_LIBRARY_PATH explicitly. mysql-test/lib/mtr_io.pl: Do not link /usr/lib/debug/* on Debian <=3.1, as it causes broken stack traces in Valgrind. mysql-test/mysql-test-run.pl: Do not link /usr/lib/debug/* on Debian <=3.1, as it causes broken stack traces in Valgrind.
* | | | Fix merge conflictsunknown2006-11-241-2/+1
| | | |
* | | | Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1unknown2006-11-241-7/+76
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint mysql-test/Makefile.am: Auto merged mysql-test/r/func_time.result: Auto merged mysql-test/t/func_time.test: Auto merged sql-common/my_time.c: Auto merged sql/item_timefunc.cc: Auto merged mysql-test/mysql-test-run-shell.sh: Auto merged mysql-test/mysql-test-run.pl: Manual merge of changes for RPM
| * | | mysql-test-run.pl:unknown2006-11-111-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test for base directory when a RPM install corrected mysql-test/mysql-test-run.pl: Test for base directory when a RPM install corrected
| * | | Merge trift2.:/MySQL/M41/clone-4.1unknown2006-11-101-2/+20
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into trift2.:/MySQL/M41/push-4.1 myisam/sort.c: Auto merged mysql-test/mysql-test-run.sh: Auto merged mysql-test/mysql-test-run.pl: Manual merge.
| | * | | mysql-test/mysql-test-run.pl + mysql-test/mysql-test-run.shunknown2006-11-011-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Necessary changes if one of the test scripts is to be used with a RPM installation (bug#17194). This change handles finding the server and the other programs, but it does not solve the problem to get a writable "var" directory. If we want to avoid world-writable directories below "/usr/share/mysql-test" (and we do!), any automatic solution would require fixed decisions which may not match the local installation. For the Perl script, use "--vardir"; for the shell script, create "mysql-test/var" manually. mysql-test/mysql-test-run.pl: Modifications to use this script in a RPM installation (bug#17194): - The tests are one level further down, "/usr/share/mysqltest" (vs. "/usr/bin"). - A "mysql-bench" might not exist. - "mysql-test" is owned by root and not world-writable, so "var" must be put somewhere else. - The server, "mysqld", is in a different location, "/usr/sbin". Note that the "--vardir" option must be used in a RPM installation, unless "mysql-test" is made writable for the user who runs the tests (not done automatically). mysql-test/mysql-test-run.sh: Necessary changes if this script is to be used with a RPM installation (bug#17194): - The tests are one level further down, "/usr/share/mysqltest" (vs. "/usr/bin"). - The server, "mysqld", is in a different location, "/usr/sbin". Note that these changes are not sufficient, as the user needs a writable "mysql-test/var" subdirectory. Either this is created manually, or the script can not be used. An alternative is the corresponding Perl script which supports a "--vardir" option.
| * | | | add --report-features to mysql-test-run.plunknown2006-11-101-3/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql-test/mysql-test-run.pl: add --report-features mysql-test/include/report-features.test: test file showing server features for mysql-test-run.pl --report-features
* | | | | Make source_dist a "local" global variableunknown2006-11-231-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And it's not an "opt"
* | | | | Get name for .reject and .log files from result file nameunknown2006-11-211-1/+1
| |_|/ / |/| | |
* | | | Remove unused variables/options that does not have any effectunknown2006-11-171-34/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Update usage description
* | | | Cleanup --extern implementation, remove some unused variables and check ↵unknown2006-11-171-23/+23
| | | | | | | | | | | | | | | | arguments