Bjorn Munch
be128c547f
backport some changes from WL 4378
2010-01-07 13:17:54 +01:00
Bjorn Munch
fcb43b2956
merge 49345
2010-01-06 09:54:43 +01:00
Bjorn Munch
dc3a76b2da
merge 49672
2010-01-06 09:52:55 +01:00
Bjorn Munch
1ae30d113d
Bug #49345 re-introduce gprof to mysql-test-run.pl
...
Was available in v1
Porting to v2 required some rewriting
Updated after review comments
2010-01-05 21:35:50 +01:00
Bjorn Munch
eec8deed8b
Bug #49166 mtr --combination is broken after restrictions of combination names
...
Combinations beginning with -- not allowed
Allow them...
2010-01-05 13:31:38 +01:00
Bjorn Munch
b82642966b
Bug #49672 mtr should extract end of result log if mysqltest fails without output
...
Extracts last 20 lines if no output after failure
2009-12-15 10:12:24 +01:00
Bjorn Munch
15d5390010
Bug #48918 MTR uses an un-initialized value in comparison
...
mysqld->{proc} not defined for an embedded server
Check only if {proc} defined
2009-11-26 11:34:16 +01:00
Bjorn Munch
4deb53a56d
Bug #49096 mtr: --mem option should be ignored on Windows
...
Ignored w/message in v1 and v2
2009-11-26 11:23:30 +01:00
Bjorn Munch
8e04f4c73c
Bug #47978 timer : expired after 90 seconds
...
Problems occur after killing threads on Windows
Get rid of the timeout threads, implement simple timer in wait_any_timeout()
2009-11-24 09:12:48 +01:00
Bjorn Munch
db1b1160dd
merge 48808
2009-11-19 10:19:18 +01:00
Bjorn Munch
964a6ebaac
merge 48806
2009-11-19 10:17:56 +01:00
Bjorn Munch
1cc0f036d6
merge 35543
2009-11-19 10:14:25 +01:00
Bjorn Munch
91bb19f44e
Bug #35543 mysqlbinlog.cc does not properly work with tmp files
...
mtr patch ported to v2
2009-11-19 10:10:21 +01:00
Bjorn Munch
9d69adc9d6
Bug #48367 MTR should react to server dying, rather than to resulting failure of mysqltest
...
For some reason it usually picks up mysqltest
Wait .1s and then see if a server has died
Change from first commit: label on separate line
2009-11-19 09:58:50 +01:00
Bjorn Munch
54bdfab91e
Bug #48808 mysql-test-run.pl --debugger=devenv does not work
...
Wrong argument order, fixed
2009-11-18 10:27:43 +01:00
Bjorn Munch
2b0be38266
Bug #48806 mysql-test-run.pl --help should work even in the absence of binaries
...
Searches for my_safe_process binary too early
Put this into a sub() and call it after examining options (incl. --help)
2009-11-17 12:13:22 +01:00
Bjorn Munch
6edaebbf57
Bug #48795 Valgrind summary from tests where server has been restarted cause test failure
...
Seen in a few tests after 43418
Add code in extract_warning_lines() to skip this part
2009-11-16 11:18:16 +01:00
Bjorn Munch
59940cdcd2
Bug #43418 MTR2: does not notice a memory leak occuring at shutdown of mysqld w/ --valgrind
...
Checking is done before server is terminated
Adds post processing of server logs if --valgrind
Also had to remove --quiet option to valgrind
2009-11-12 11:04:01 +01:00
Bjorn Munch
ea91cac7eb
merge 48209
2009-11-04 14:44:19 +01:00
Bjorn Munch
6c28505e6e
Bug #48240 "Test suite timeout" and "Too many tests failed" is masked from status page
...
Prepend "Completed", "Timeout" or "Too many failed" to summary line
2009-10-26 14:28:51 +01:00
Bjorn Munch
fe76fb69a0
Bug #48209 Confusing message "Test has succeeded" after test fails due to warnings
...
There's no need for --verbose for the mysqltest in check-warnings, remove it
2009-10-23 13:04:55 +02:00
Bjorn Munch
684b1d39ac
merge 48149
2009-10-20 12:05:28 +02:00
Bjorn Munch
23ef842e03
Bug #48149 MTR should automatically skip SSL tests if SSL not supported
...
Knowledge of no SSL support is not used
Skip tests the same way e.g. innodb tests are
Does not refer to have_ssl_communication.inc,
will add this when merging to 6.0-codebase
2009-10-19 15:51:47 +02:00
Bjorn Munch
a47a167492
merge 48130 and 48133
2009-10-19 15:33:34 +02:00
Bjorn Munch
6c68019899
Bug #48133 MTR should not dump entire history of mysqld log when failing to start server
...
Don't print entire log, but use extract_server_log() introduced by 46007
2009-10-18 13:01:46 +02:00
Bjorn Munch
264c330fd0
Bug #48130 Expected failures should not count towards max-test-fail
...
Test batches may be terminated too early
Avoid counting exp-fail tests
2009-10-17 18:34:56 +02:00
Bjorn Munch
6c9cb9ba22
merge from 5.1 main
2009-10-16 23:25:05 +02:00
Bjorn Munch
23306c563a
Bug #46007 Tests fail due to a crash while running 'check testcase before test'
...
Difficult to debug due to lacking report
This does not solve the real issue, but extracts server log when it happens
Forst commit was incomplete, didn't cover all cases
2009-10-14 09:31:34 +02:00
Bjorn Munch
1cfe27ba58
avoid regexp warning after 46625
2009-10-09 15:16:36 +02:00
Bjorn Munch
ebd84796fe
Remove obsolete comments after fixing 42408
2009-10-08 14:31:39 +02:00
Bjorn Munch
57d40c6ba4
Bug #47716 mtr2 prints obscure error when started with -gdb and xterm is missing
...
Tried to use an expression inside ""
Go via variable, and add $exe to the output
2009-10-08 11:23:04 +02:00
Bjorn Munch
00709918e4
Bug #46625 Pushbuild2: does not notice test failure in "Innodb Plugin" mode
...
Disallow (and don't use) space in combination names
2009-10-08 11:14:42 +02:00
Magnus Blåudd
700f21b7a0
Bug#47801 The plugin test fails with the Embedded Server on Windows
...
- Remove the "hack" from mtr.pl that skipped searching for the .dll files
when embedded and windows. Now the variables will be preoperly initialized.
- Make the tests detect that they can't run on windows+embedded
2009-10-08 10:39:15 +02:00
Magnus Blåudd
d94752f42b
Merge
2009-10-08 10:32:43 +02:00
Bjorn Munch
0311f538b0
Bug #47811 ./mysql-test-run.pl --valgrind uses old (too narrow) allignment
...
Remove the alignment option, let valgrind use its default
2009-10-06 10:42:05 +02:00
Bjorn Munch
a0ed9a389d
Bug #46327 MTR2 prevents gcov data accumulation
...
mysqladmin fails on Linux in 6.0 without --character-sets-dir
Also added timeout for server shutdown, hope this will solve it
2009-10-06 10:35:35 +02:00
Bjorn Munch
bd3e299482
Bug #47243 Allow MTR to read max auto setting for --parallel from env. variable
...
In stead of hard-coded 8, read from $MTR_MAX_PARALLEL if set
2009-10-05 13:08:10 +02:00
Ingo Struewing
c2e1614814
auto-merge
2009-10-02 13:27:48 +02:00
Ingo Struewing
21586dfb08
WL#4259 - Debug Sync Facility
...
Backport from 6.0 to 5.1.
Only those sync points are included, which are used in debug_sync.test.
The Debug Sync Facility allows to place synchronization points
in the code:
open_tables(...)
DEBUG_SYNC(thd, "after_open_tables");
lock_tables(...)
When activated, a sync point can
- Send a signal and/or
- Wait for a signal
Nomenclature:
- signal: A value of a global variable that persists
until overwritten by a new signal. The global
variable can also be seen as a "signal post"
or "flag mast". Then the signal is what is
attached to the "signal post" or "flag mast".
- send a signal: Assign the value (the signal) to the global
variable ("set a flag") and broadcast a
global condition to wake those waiting for
a signal.
- wait for a signal: Loop over waiting for the global condition until
the global value matches the wait-for signal.
Please find more information in the top comment in debug_sync.cc
or in the worklog entry.
2009-09-29 17:38:40 +02:00
Davi Arnaut
73153f1cb3
Don't use the semicolon character as a argument separator as it
...
can be interpreted as a shell metacharacter in some circumstances.
For example, it is interpreted as a command separator when invoking
a debugger.
2009-09-29 11:11:46 -03:00
Magnus Blåudd
621e98a31b
Bug#47612 mtr - improving the report for valgrind erorrs
...
- Improve the report produced when a valgrind error is detected
2009-09-24 16:09:11 +02:00
Bjorn Munch
588e9930b4
first merge from main
2009-09-02 18:58:17 +02:00
Bjorn Munch
013c46cb36
Bug #46973 MTR: extract_warning_lines does not check it's extracting lines for current test
...
Rewrote logic (first commit was incomplete, sorry)
2009-08-28 15:02:48 +02:00
Bjorn Munch
d458d55755
Bug #46322 Sporadic timeout in mysql_upgrade.test
...
Apparently caused by logging to table
Turn on logging to file only, add to .opt file for tests needing log to table
2009-08-27 15:17:09 +02:00
Bjorn Munch
4994e66783
Bug #42408 Faulty regex for detecting [Warning] and [ERROR] in mysqld error log
...
Enabled proper pattern for Warnings and ERRORs
Added some suppressions
2009-08-25 15:56:50 +02:00
Bjorn Munch
1a0b63c27a
Bug #44222 mysql-test-run --start analyses which tests it would skip. This is redundant.
...
Quicker test collection and better output with --start[-dirty]
2009-08-18 09:38:18 +02:00
Bjorn Munch
9407780994
Bug #44979 Enhance MTR --experimental to support platform qualifier
...
Adding @<platform> syntax
2009-08-13 15:29:19 +02:00
Bjorn Munch
c368771314
Bug #45847 make --gdb disable all the timeouts by default
...
Set to one week for testcase and suite timeout
Also set one day timeout for PID file creation (not currently needed in 5.1 but might become, and is needed in azalea)
2009-08-11 15:59:05 +02:00
Bjorn Munch
687612c8c4
Bug #44479 mysql-test-run does not detect that external server has Innodb support
...
Variable name mismatch
Map variable have_innodb=YES to innodb=ON
2009-08-11 12:59:43 +02:00
Sergey Vojtovich
d805c1214a
This patch implements testing InnoDB plugin milestone.
2009-06-24 22:18:58 +05:00