summaryrefslogtreecommitdiff
path: root/mysql-test/lib
Commit message (Collapse)AuthorAgeFilesLines
* Silly mistake in gdb output: replaced print with resfile_print,Bjorn Munch2011-10-051-2/+2
| | | | | | but the latter only takes one argument, duh! Fixed by concatenating the args (replace , with .)
* upmerge 12726039Bjorn Munch2011-07-281-11/+35
|\
| * Bug #12726039 MTR SHOULD PROVIDE ABILITY TO DISABLE TEST ON SELECTED PLATFORMSBjorn Munch2011-07-281-1/+21
| | | | | | | | | | Add extra patterns to look for @<platform>
| * Updated/added copyright headersKent Boortz2011-07-034-11/+13
| |\
* | \ merge from 5.5 mainBjorn Munch2011-07-0443-31/+301
|\ \ \
| * \ \ Updated/added copyright headersKent Boortz2011-07-041-1/+1
| |\ \ \
| * \ \ \ Updated/added copyright headersKent Boortz2011-06-3042-30/+300
| |\ \ \ \ | | |/ / / | |/| / / | | |/ /
| | * | Updated/added copyright headersKent Boortz2011-06-3047-37/+324
| | |\ \
* | | | | 11766640 addendum: disable unit tests in MTR with --do-test or --start-fromBjorn Munch2011-06-301-0/+3
|/ / / /
* | | | Bug #11750043 40340: USE GZIPPED CORE FILES TO SAVE SPACEBjorn Munch2011-05-251-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | Use [g]zip on core file if available, ignore if not Skip if running named test, and print a line saying what it compressed.
* | | | Bug#11831031: MTR SHOULD FIND TEST SUITES FROM FEATURE TREES OUTSIDE MYSQL-TESTBjorn Munch2011-05-241-2/+4
| | | | | | | | | | | | | | | | | | | | Backported from trunk-mtr
* | | | WL #5680 MTR results written to file with well defined formatBjorn Munch2011-05-094-6/+196
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added --result-file option, which will produce var/mtr-results.txt Output has a simple format: <tag> : <value> for general info on test run { <tag> : <value> .... } for each test Output from failed tests are included but may be truncated. See WL for more details.
* | | | upmerge 12379923 (60907)Bjorn Munch2011-04-261-2/+2
|\ \ \ \ | | |_|/ | |/| |
| * | | Bug #12379923 60907: MYSQL-TEST/LIB/MY/SAFEPROCESS/SAFE_PROCESS.PL USES ↵Bjorn Munch2011-04-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | HARDCODED SIGNAL NUMBE Replaced the hardcoded 9 with 'KILL'
| * | | Bug #12365486 MTR FAILS TO FIND WARNINGS IN SERVER LOG WITH --VALGRIND ↵Bjorn Munch2011-04-181-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | COMBINED WITH --DEBUG With this combination, outoput was directed to .trace but not all parts of MTR was aware of this. Replace .err with .trace at the earliest possible place
* | | | upmerge 12365486Bjorn Munch2011-04-181-2/+6
|\ \ \ \
| * | | | Bug #12365486 MTR FAILS TO FIND WARNINGS IN SERVER LOG WITH --VALGRIND ↵Bjorn Munch2011-04-181-2/+6
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | COMBINED WITH --DEBUG With this combination, outoput was directed to .trace but not all parts of MTR was aware of this. Replace .err with .trace at the earliest possible place
* | | | upmerge 12351213,12360195Bjorn Munch2011-04-151-3/+2
|\ \ \ \ | |/ / /
| * | | Bug #12351213 MTR --VS-CONFIG DOES NOT WORK LIKE MTR_VS_CONFIGBjorn Munch2011-04-141-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for --vs-config applied Find.pm incorrectly tested an unitialized local variable instead of the global, corrected. Find.pm is also wrong in 5.5: uses a non-existent global variable. Fix when merging up.
* | | | Bug #12360501 MTR --GCOV DOES NOT WORK WITH CMAKE BUILDSBjorn Munch2011-04-141-14/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed to use $bindir instead of $basedir Simplified search for files: find all *.gcno Also, .msg and .err files had been mixed up
* | | | Bug #12316050 MTR: --REPORT-TIMES GIVES TOO HIGH NUMBER FOR INITIALIZATIONBjorn Munch2011-04-071-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Forgot that the main thread would be idle while waiting for tests Added sub mark_time_idle() so ignore time spent waiting Also added a new time category 'admin' to take some of 'init'
* | | | Attempt at solving missing end of mtr output on WindowsBjorn Munch2011-02-281-0/+2
|\ \ \ \ | |/ / /
| * | | Attempt at solving missing end of mtr output on WindowsBjorn Munch2011-02-281-0/+2
| |/ /
* | | 11766640 follow-up: fix for VS_CONFIG on WindowsBjorn Munch2011-02-241-3/+2
| | |
* | | Bug #11766640 (59789) Hook the invocation of unit tests in MTR.Bjorn Munch2011-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added code to call 'ctest' if the needed cmake file is present Will do so unless tests/suited named on mtr command line Also add option to turn on/off Will be made to look like a test 'unit-test' which counts towards total Extracts summary report and any test failures from ctest output Addendum: added override to turn off in PB, add back in selected invocations
* | | Bug #59489 Enable setting of env. variables for mysqld from mtrBjorn Munch2011-01-273-5/+22
| | | | | | | | | | | | | | | | | | | | | | | | Added --mysqld-env option, propagate via safe_process Simplified: should be safe to set in parent safe_process after it's started Addendum: catch cases of --mysqld-env w/o value, assume env.var name never begins with "--"
* | | upmerge undo of 59063Bjorn Munch2011-01-181-1/+1
|\ \ \ | |/ /
| * | oops forgot one file in last commitBjorn Munch2011-01-181-1/+1
| | |
* | | Some more copyright fixes in mtrBjorn Munch2011-01-185-5/+5
|\ \ \ | |/ /
| * | Some more copyright fixes in mtrBjorn Munch2011-01-185-5/+5
| | |
* | | Fixed copyright headers in mtr src filesBjorn Munch2011-01-1816-26/+73
|\ \ \ | |/ /
| * | Fixed copyright headers in mtr src filesBjorn Munch2011-01-1817-27/+74
| | |
* | | Bug #59182 output of mysql-test-run.pl - mismatch between col names and ↵Bjorn Munch2011-01-121-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | actual col contents New patch, avoid global $opt_parallel I still prefer not to print workerid when not doing parallel
* | | Bug #59216 mysql test suite can not run indiviual tests in engines/funcs suiteBjorn Munch2011-01-111-2/+5
| | | | | | | | | | | | | | | | | | Test name spec would be cut at last / Only do this when .test file name given, not suite.<test>
* | | upmerge 58896,58900,59002Bjorn Munch2011-01-111-1/+2
|\ \ \ | |/ /
| * | Bug #58896 MTR should recognise combinations as experimental without needing ↵Bjorn Munch2011-01-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | wildcards Added a pattern match to cover combinations Added to readme file
* | | MergeKent Boortz2010-12-292-3/+3
|\ \ \ | |/ /
| * | MergeKent Boortz2010-12-292-3/+3
| |\ \ | | |/
| | * - Added/updated copyright headersKent Boortz2010-12-282-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Removed files specific to compiling on OS/2 - Removed files specific to SCO Unix packaging - Removed "libmysqld/copyright", text is included in documentation - Removed LaTeX headers for NDB Doxygen documentation - Removed obsolete NDB files - Removed "mkisofs" binaries - Removed the "cvs2cl.pl" script - Changed a few GPL texts to use "program" instead of "library"
| * | merge from 5.1-mtrBjorn Munch2010-11-271-1/+1
| |\ \
| * \ \ merge from 5.1-mtrBjorn Munch2010-11-091-8/+13
| |\ \ \
* | | | | BUG #59055: RQG was broken after the checkin that removed rpl and rpl_ndb ↵Anitha Gopi2010-12-211-1/+1
| | | | | | | | | | | | | | | | | | | | suites. RQG uses MTR V1 and that still has these in the default suite. Removing these from V1. Also removing references to ndb tests in some more disabled.def files
* | | | | merge from 5.5-mtrBjorn Munch2010-11-271-1/+1
|\ \ \ \ \
| * \ \ \ \ upmerge 58482Bjorn Munch2010-11-261-1/+1
| |\ \ \ \ \ | | | |_|/ / | | |/| | |
| | * | | | Bug #58482 mtr doesn't use suite names from individually specified test casesBjorn Munch2010-11-251-1/+1
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | It does work in general, the problem here was that the test name 'alter_table' matches 'main.alter_table-big' which has already been found. Fixed by matching more explicitly (with/without suite name)
| * | | | merge from 5.5Bjorn Munch2010-11-141-1/+1
| |\ \ \ \
* | | | | | WL#5665: Removal of the autotools-based build systemDavi Arnaut2010-11-201-25/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The autotools-based build system has been superseded and is being removed in order to ease the maintenance burden on developers tweaking and maintaining the build system. In order to support tools that need to extract the server version, a new file that (only) contains the server version, called VERSION, is introduced. The file contents are human and machine-readable. The format is: MYSQL_VERSION_MAJOR=5 MYSQL_VERSION_MINOR=5 MYSQL_VERSION_PATCH=8 MYSQL_VERSION_EXTRA=-rc The CMake based version extraction in cmake/mysql_version.cmake is changed to extract the version from this file. The configure to CMake wrapper is retained for backwards compatibility and to support the BUILD/ scripts. Also, a new a makefile target show-dist-name that prints the server version is introduced. VERSION: Add top-level version file. cmake/mysql_version.cmake: Get version information from the top-level VERSION file. Do not cache the version components (MAJOR_VERSION, etc). Add MYSQL_RPM_VERSION as a replacement for MYSQL_U_SCORE_VERSION.
* | | | | | merge from 5.5-mtrBjorn Munch2010-11-091-8/+13
|\ \ \ \ \ \ | |/ / / / /
| * | | | | upmerge 57840Bjorn Munch2010-11-051-8/+13
| |\ \ \ \ \ | | | |/ / / | | |/| | |
| | * | | | Bug #57840 MTR: parallel execution breaks with smart ordering of test casesBjorn Munch2010-11-051-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were actually more problems in this area: Slaves (if any) were unconditionally restarted, this appears unnecessary. Sort criteria were suboptimal, included the test name. Added logic to "reserve" a sequence of tests with same config for one thread Got rid of sort_criteria hash, put it into the test case itself Adds little sanity check that expected worker picks up test Fixed some tests that may fail if starting on running server Some of these fail only if *same* test is repeated. Finally, special sorting of tests that do --force-restart