msvensson@shellback.(none)
3c66250e84
Fix unhandled exception in mysql-test-run.pl, creating a dir that already exist
2006-10-12 11:29:13 +02:00
msvensson@shellback.(none)
5b8312986c
Fixes for embedded server test
2006-10-11 21:53:43 +02:00
msvensson@shellback.(none)
d02909910b
mtr_im_stop returns 1 if all is well
2006-10-11 15:45:35 +02:00
msvensson@shellback.(none)
3e37764216
Improve restart logic all code to detect restart is now in the functions
...
'run_testcase_need_master/slave_restart'
Remove the faulty qw
Only look for mysql_fix_privilege_tables if not windows
2006-10-11 14:50:19 +02:00
msvensson@shellback.(none)
bf762c2d9e
Print names of testcases that failed check_testcase, this makes it easier
...
to run the whole testcase to find wich testcases need to be checked more carefully
and the just "copy and paste" the suspicious test case names to
a new mysql-test-run.pl command.
2006-10-08 17:48:01 +02:00
msvensson@shellback.(none)
55e6f74525
Do the check of special mysqld exe for master or slave after command line args have been parsed
2006-10-08 17:08:24 +02:00
msvensson@shellback.(none)
ca611ed679
Move list of mysqls src dirs into lib/mtr_gcov.pl as it's only used from there
2006-10-08 17:05:17 +02:00
msvensson@shellback.(none)
b896bd0a6e
When looking for client binary directories it necessary to look for the one s that are "deep down" first.
2006-10-08 16:11:55 +02:00
msvensson@shellback.(none)
5fa22794fd
Reorder the order of feature checks a bit
...
Make the mysqld_variables hash global so it can be used throughout the program
2006-10-08 15:50:16 +02:00
msvensson@neptunus.(none)
7ba1880369
Add error handling of failure to start server to "run_testcase_start_servers"
2006-10-06 17:15:26 +02:00
msvensson@neptunus.(none)
738ba624d3
Fix problem with specifying vardir, mysql_version_id was not yet available when vardir arguments is checked
...
Move the code to look for exe_mysqld earlier => to initial_setup
Fix warnings detected by running with "diagnostics"
Remove unused option "opt_result_ext"
Init "path_ndb_examples_dir"
2006-10-06 16:26:17 +02:00
msvensson@neptunus.(none)
d3bc5df837
Modify regex for parsing mysqld version as the mysqld is sometimes a libtool wrapper and
...
the "mysqld --version" command will print "/path/.libs/lt-mysqld Ver x.x.x"
2006-10-06 13:33:12 +02:00
msvensson@neptunus.(none)
9d5b871f16
Always need restart for im_* tests
2006-10-06 12:46:21 +02:00
msvensson@neptunus.(none)
22f1cc58c2
Improve 'run_testcase_need_master_restart' to require restart if master is not already started
...
Improve 'run_testcase_need_slave_restart' to detect if a slave restart really is necessary.
So far all rpl test requires a slave restart, but for all other tests it can be skipped
Improve the sort order used by --reorder
2006-10-06 11:23:19 +02:00
msvensson@neptunus.(none)
f638be87cb
Rename "snapshot_setup" to "datadir_setup" as that is what is done by it.
...
Move call f dunction into "initialize_servers" so it's called also
in stress and bench mode
2006-10-06 01:22:33 +02:00
msvensson@neptunus.(none)
ae4df31df4
Add printout of file in which warning was detected
...
Cleanup .progress, .reject, .log and .warnings files produced by mysqltest
2006-10-06 00:57:10 +02:00
msvensson@neptunus.(none)
babde331a4
Print the newly found version number in human readable format
2006-10-05 22:29:16 +02:00
msvensson@neptunus.(none)
02693c37d9
Add policy directive about keeping mysqltest framework tools identical in all versions
2006-10-05 22:05:42 +02:00
msvensson@neptunus.(none)
42e60f5e90
No need to pass --valgrind to mysqltest anymore, the simple task of
...
creating an environment variable is handled directly from the perl code.
2006-10-05 20:45:16 +02:00
msvensson@neptunus.(none)
c03c618dd8
Make use of $opt_mem" and let 4.1 allow --vardir to be set. Still relies on the var/ directory
...
but having it on tmpfs gives a big speedup.
2006-10-05 20:21:11 +02:00
msvensson@neptunus.(none)
ab862ca2dc
Use same --slave-load-tmpdir in all versions(backport from 5.0)
2006-10-05 18:29:59 +02:00
msvensson@neptunus.(none)
5f1da07a78
Add new option --mem to mysql-test-run.pl. It will automatically setup a symlink
...
from var/ to a tmpfs area and thereby speed up the execution of the testsuite
significantly
2006-10-05 14:37:46 +02:00
msvensson@neptunus.(none)
1fb0862f3c
5.0 is also using the somewhat larger config for cluster
2006-10-05 13:45:50 +02:00
msvensson@neptunus.(none)
46b3392171
Add regex to detect the empty line that end the variable list.
...
Some variable names in 5.1 is soo long that there is no space inbetween
name and value. Outputing a warning about it, as that should probably be fixed.
At least one space should be put between the name and value.
2006-10-05 13:38:08 +02:00
msvensson@neptunus.(none)
1764f4870e
Print warning message if test was failed becuase of cluster install failure
...
Improve check of wheter test case need slave cluster
2006-10-05 13:09:06 +02:00
msvensson@neptunus.(none)
bf120e18c8
Set the environment variable NDB_STATUS_OK to indicate that cluster is installed ok. This is actually not needed for this script as it will
...
skip ndb tests if cluster install failed. But provided for compatibility
2006-10-05 12:28:23 +02:00
msvensson@neptunus.(none)
218034b776
Fix detection of debug binaries. If mysqld ouputs "debug xx" in the variable list it's a debug binary
2006-10-05 00:19:24 +02:00
msvensson@neptunus.(none)
dd2a184f69
Set the small configuration a little bit larger for 4.1
2006-10-05 00:12:54 +02:00
msvensson@neptunus.(none)
b56d31eb05
Add skip-bdb to im defaults file in 5.0
2006-10-04 23:57:31 +02:00
msvensson@neptunus.(none)
56ccee0f6c
Only setup cmdline_myslslap if exe_mysqlslap defined
2006-10-04 23:19:06 +02:00
msvensson@neptunus.(none)
80184739ff
Look for mysqlslap from 5.1, it's also available on windows
2006-10-04 23:15:04 +02:00
msvensson@neptunus.(none)
587754cab6
Use switch --old-log-format to mysqld started by im only in 5.1 and up
2006-10-04 23:07:49 +02:00
msvensson@neptunus.(none)
c243c7d866
Clean up de_before_start_master/slave
2006-10-04 23:05:12 +02:00
msvensson@neptunus.(none)
6ac9c43e51
Set slave_load_path to ../../var/tmp in version prior to 5.0 to be compatible with mysql-test-run.sh
2006-10-04 22:50:34 +02:00
msvensson@neptunus.(none)
914f2bbc2a
Create the mysqld.spec file with a unique name in mysql-test dir, $opt_var_dir haven't been created yet
2006-10-04 19:21:22 +02:00
msvensson@neptunus.(none)
0903a9f836
--ndb-extra-logging option to mysqld is not available until 5.1
2006-10-04 18:48:22 +02:00
msvensson@neptunus.(none)
d8191af7ee
Fixup the regex's parsing the mysqld's version and variables
...
Add paths for ndb binaries
Some more backport issues
2006-10-04 16:28:23 +02:00
msvensson@shellback.(none)
3db774af45
Backport from 5.1
...
-Add support for detecting version and features from mysqld binary
- Autodetect netware
- Disable some features not available below 5.0
- Cleanup executable_setup to look for one executable at a time, only llok for the ones that are needed based on the selected testcases and settings
2006-10-04 12:47:32 +02:00
msvensson@neptunus.(none)
4703f302fe
Dont' ever use cluster for slave in 4.1
2006-08-26 18:38:42 +02:00
msvensson@neptunus.(none)
5abbe9eb00
Ignore --skip-im if specified on command line
...
Null merge to 5.0
2006-08-25 17:01:04 +02:00
msvensson@neptunus.(none)
7e8f06c46f
Add mysqld-max-nt to list of mysqld executales to look for on windows
2006-08-25 15:23:42 +02:00
msvensson@neptunus.(none)
f0c4aba723
Backport from 5.0 a fix that will start ndb only for tests that needs it
2006-08-25 15:17:03 +02:00
joerg@trift2.mysql.com
44c0053a44
Merge trift2.mysql.com:/M41/bug20303-4.1
...
into trift2.mysql.com:/M41/mysql-4.1
2006-06-09 14:37:24 +02:00
joerg@mysql.com
a26c9c31a1
mysql-test/mysql-test-run.pl : Output the usage error if one is given. (Found when fixing bug#20303)
2006-06-08 19:55:22 +02:00
joerg@mysql.com
5091df1333
mysql-test/mysql-test-run.pl : A fix for bug#20303 "mysql-test-run.pl: Does not recognize -- argument"
2006-06-08 14:52:33 +02:00
msvensson@neptunus.(none)
dcf9810cb1
Merge neptunus.(none):/home/msvensson/mysql/bug15328/my41-bug15328
...
into neptunus.(none):/home/msvensson/mysql/mysql-4.1
2006-05-24 10:16:31 +02:00
msvensson@neptunus.(none)
22ff4c2865
Bug#15328 Segmentation fault occured if my.cnf is invalid for escape sequence
...
- Check that length of value is longer than 1 before decrementing length by 2.
- Backport from 5.0, make it possible to use my_print_defaults in tests
2006-05-11 14:13:14 +02:00
holyfoot@mysql.com
e5a22d1bca
Merge bk@192.168.21.1:mysql-4.1
...
into mysql.com:/home/hf/work/mysql-4.1.mrg
2006-05-04 00:03:58 +05:00
knielsen@mysql.com
17a80c9da4
Fix typo in mysql-test-run.pl (not caught by aotupush since it uses mysql-test-run.sh).
2006-04-24 15:34:01 +02:00
knielsen@mysql.com
408599af84
Fix broken --valgrind-options option.
2006-04-12 14:32:34 +02:00