Commit graph

1196 commits

Author SHA1 Message Date
msvensson@pilot.mysql.com
7c0ba8e110 Merge pilot.mysql.com:/data/msvensson/mysql/my50-bt-36463
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.0-build
2008-05-02 09:15:23 +02:00
msvensson@pilot.mysql.com
4600fc3f34 Bug#36463 mysql-test-run.pl should always use the --tmpdi 2008-05-02 09:13:43 +02:00
msvensson@pilot.mysql.com
d3f9ea0ceb Merge bk-internal:/home/bk/mysql-5.0-build
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.0-build
2008-05-02 08:42:48 +02:00
msvensson@pilot.mysql.com
3e18c89fdb Use the deignated tmpdir if it exists 2008-05-01 09:34:25 +02:00
msvensson@pilot.mysql.com
df7b349f32 Remove hack for mtr.pl in MySQL 4.1 2008-04-30 15:52:50 +02:00
msvensson@pilot.mysql.com
a0f393d660 Don't append thread num to $opt_tmpdir is var/tmp
Remove .err and .result files produced by check-testcase and check-warnings
2008-04-28 15:03:30 +02:00
msvensson@pilot.mysql.com
5d3d99c365 Save files in var/tmp/ after failure 2008-04-28 14:37:40 +02:00
msvensson@pilot.mysql.com
91cc80ad57 Return immediately from 'check-testcase' and 'check_warnings' if no
check processes has been started
2008-04-28 12:20:42 +02:00
msvensson@pilot.mysql.com
2aae18545d Limit number of test failures before aborting 2008-04-28 09:24:30 +02:00
msvensson@pilot.mysql.com
aa635c20ef Reenable suite timeout detection 2008-04-28 08:38:07 +02:00
msvensson@pilot.mysql.com
f201478cb7 Only run the "saved core limit" if the datadir was saved 2008-04-28 08:28:06 +02:00
msvensson@pilot.mysql.com
9e3c23c089 Add printout of all tests in case number of completed differs number of test
and force is on
2008-04-28 08:26:04 +02:00
msvensson@pilot.mysql.com
9da80dac20 Print number of test completed at failure 2008-04-28 08:23:00 +02:00
msvensson@pilot.mysql.com
6400538a90 Stop the test case time if "check_testcase" before test fails 2008-04-28 08:17:23 +02:00
msvensson@pilot.mysql.com
4f9409c835 Move code that saves datadirs to test server
Remove mtr_report_test_failed
2008-04-27 23:35:38 +02:00
msvensson@pilot.mysql.com
b18a64979a Run all check-warning and check-testcase in parallel, this also give the
oportunity to check if any other process fails during this.
Add possiblitiy to store "user_data" in a Safeprocess
Add function to get pid from a SafeProcess
2008-04-27 21:31:32 +02:00
msvensson@pilot.mysql.com
e2f1865378 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-maint2
2008-04-27 19:03:03 +02:00
msvensson@pilot.mysql.com
faba19abd3 Use - instead of _ as separator 2008-04-27 19:02:43 +02:00
msvensson@pilot.mysql.com
1715884752 Increase start timeout when running parallell
Fix comments
2008-04-27 16:16:50 +02:00
msvensson@pilot.mysql.com
692291b42b Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-maint2
2008-04-27 15:43:22 +02:00
msvensson@pilot.mysql.com
3f48a30625 Save datadir in case of test failure, but limit the number of times
datadir can be saved in case of constantly failing servers
Remove datadirs each time all servers have been stopped thus limiting
the size of vardir.
The datadirs of failed tests have been saved and that should be
enough to diagnose any failures
2008-04-27 15:32:12 +02:00
pcrews@pcrews-mac-local.local
ae0082799a Bug#36032 - Test funcs_1.processlist_priv_ps fails on Windows
Bug#36033 - Test funcs_1.processlist_val_ps fails on Windows
Bug#36034 - Test parts.part_supported_sql_func_<eng> fails on Windows
Bug#36036 - Test parts.partition_alter1_<eng> fails on Windows
Bug#36037 - Test parts.partition_alter2_<eng> fails on Windows
Bug#36038 - Test parts.partition_basic_<engine> failing on Windows
Bug#36039 - Test parts.partition_engine_<eng> fails on Windows
Bug#36040 - Test parts.partition_syntax_<eng> fails on Windows

Changeset to fix multiple 5.1.24-rc build bugs on Windows platforms.

Many of these bugs had the same root causes.
2008-04-26 19:52:43 -04:00
msvensson@pilot.mysql.com
d0d79913ad Use parallel=4 as default 2008-04-26 22:16:20 +02:00
msvensson@pilot.mysql.com
fa5d32de71 Don't use empty string instead of --plugin-dir when plugins are not found 2008-04-26 09:35:04 +02:00
msvensson@pilot.mysql.com
b1d7f68443 Don't print stats when test run is abort because of test failure 2008-04-25 10:31:13 +02:00
msvensson@pilot.mysql.com
fcc697d29c Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-maint2
2008-04-25 08:23:57 +02:00
msvensson@pilot.mysql.com
13461e33d5 If more than one parallel run, use a subdir of the selected tmpdir 2008-04-24 20:25:00 +02:00
msvensson@pilot.mysql.com
471a98001e Add support for bootstrapping from init_db.sql, which is used in
early versions of 5.1 and 5.0
Fix usage instruction of defaults_extra_file
2008-04-24 14:14:11 +02:00
msvensson@pilot.mysql.com
d4742671b9 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-maint2
2008-04-24 13:24:24 +02:00
msvensson@pilot.mysql.com
ba900fe302 Add support for running in parallel 2008-04-24 13:02:53 +02:00
msvensson@pilot.mysql.com
3f9adfb812 Don't symlink var/tmp to $opt_tmpdir
Just treat var/tmp and $opt_tmndir that might be different or same.
2008-04-23 12:59:37 +02:00
msvensson@pilot.mysql.com
ea839ba054 Set verbose back to 0 by default 2008-04-22 22:01:37 +02:00
msvensson@pilot.mysql.com
5a0ae425c6 Move the check for socket path truncation to after the tmpdir has been created
since it's used by the check
2008-04-21 23:12:28 +02:00
msvensson@pilot.mysql.com
71e4de876e Temporarily turn on verbose 2008-04-21 21:47:33 +02:00
msvensson@pilot.mysql.com
761b355d0e Add check for unix socket path truncation
Don't allow unix socket path to be truncated
2008-04-21 18:32:32 +02:00
msvensson@pilot.mysql.com
206e1dc63e Rename "shutdown" -> "send_shutdown" and "kill_server" to "shutdown_server"
Fix warnings
2008-04-21 17:39:13 +02:00
msvensson@pilot.mysql.com
596aca33f5 Set mysqladmin shutdown timeout to 60 seconds 2008-04-14 14:25:57 +02:00
msvensson@pilot.mysql.com
e549ec7f6a Temporary re-enable the "always restart slave" 2008-04-14 12:57:37 +02:00
msvensson@pilot.mysql.com
806b107a1c Fix problem where test case timeout was not detected
after expected crash server restart. The test timeout process was killed
not restarted.
2008-04-10 13:16:32 +02:00
msvensson@shellback.(none)
f4661f34a6 Fix return code from check-warnings to indicate if test failed or not.
No more string matching
2008-04-09 14:38:42 +02:00
msvensson@shellback.(none)
d348362d24 Turn on --check-testcase by default
Don't log check_warnings to binlog
2008-04-09 12:27:39 +02:00
msvensson@pilot.mysql.com
456b16d834 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-warnings2
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
2008-04-08 16:52:15 +02:00
msvensson@pilot.mysql.com
433c1c3d7b Check warnings in servers error log as part of test case 2008-04-08 16:51:26 +02:00
msvensson@pilot.mysql.com
15d2940fe1 Remove faulty underscore in --defaults-group-suffix for mysqldump 2008-04-08 11:02:06 +02:00
msvensson@pilot.mysql.com
d4eecb9677 Add mtr database 2008-04-02 10:06:36 +02:00
mleich@five.local.lan
89ddc0aa52 Fix for
Bug#35335 funcs_1: Some tests fail within load_file during
                      pushbuild runs
   Solution: 1. Move files with input data used in load_file, 
                load data etc. 
                from suite/funcs_1/<whatever>
                to std_data
             2. Use for testsuite funcs_1 the server option
                --secure-file-priv=<MYSQLTEST_VARDIR>
             3. Outfiles have to be stored under MYSQLTEST_VARDIR 
+ changes according to WL#4304 Cleanup in funcs_1 tests
  - backport of fixes/improvements made in 5.1 to 5.0
    The differences between scripts in 5.0 and 5.1 cause
    much additional and annoying work during any upmerge.
  - replace error numbers with names
  - improved comments
  - improved formatting
  - Unify storage engine names so that result files for
    storage engine variants do not differ (some tests)
  - remove a script no more used (tests are done in other scripts)
2008-03-31 19:48:02 +02:00
msvensson@pilot.mysql.com
201ce48d5d After merge fixes 2008-03-26 07:22:42 +01:00
msvensson@pilot.mysql.com
dfa3be4944 Bug#34761 Mysql-test-run.pl script hangs on Windows 2008-03-25 16:29:32 +01:00
msvensson@pilot.mysql.com
06c73d7d1c Bug#34761 Mysql-test-run.pl script hangs on Windows 2008-03-25 16:27:23 +01:00
msvensson@pilot.mysql.com
9201ff3c36 Find mysqld binary from it's basedir 2008-03-25 09:19:03 +01:00
msvensson@pilot.mysql.com
eaf8435cc3 Turn off vernose for windows 2008-03-14 13:59:43 +01:00
msvensson@pilot.mysql.com
0d1d46c7e2 Find ndb binaries
Verbose SafeProcess.pm
2008-03-13 17:16:42 +01:00
msvensson@pilot.mysql.com
4dd397e457 Show which servers have been started for --start-and-exit and --start-dirty 2008-03-12 10:34:24 +01:00
msvensson@pilot.mysql.com
9d142ff0a8 Temporarily turn on verbose on windows 2008-03-11 08:20:44 +01:00
msvensson@pilot.mysql.com
6967aa18e5 Cleanup with/skip/supported-ndbcluster 2008-03-10 16:38:28 +01:00
msvensson@pilot.mysql.com
c7f2d6ef6c Use retry=3 as default 2008-03-06 17:55:16 +01:00
msvensson@pilot.mysql.com
5eb114bb4a Removed unused "#!remove_datadir"
Cleanup BACKUP dir from clusters datadir in case of test failure
2008-03-06 10:15:01 +01:00
msvensson@pilot.mysql.com
05e89c1f43 Apply patch 2008-03-03 12:53:57 +01:00
msvensson@pilot.mysql.com
5339afdb46 Bug#34995 mysql-test-run doesn't allow client lib/binary selection 2008-03-03 12:47:05 +01:00
msvensson@pilot.mysql.com
7186bc018b Merge 192.168.0.9:mysql/mysql-5.1-mtr
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-03-03 10:03:05 +01:00
msvensson@pilot.mysql.com
06cf8665c5 Fix after merge 2008-02-28 18:55:46 +01:00
msvensson@pilot.mysql.com
0462076eac Add variables fro myisamchk and myisampack 2008-02-28 11:49:14 +01:00
msvensson@pilot.mysql.com
a0dd86232c Use car/tmp as tempdir for mysqld --bootstrap
Run "mysql --bootstrap" with verbose if turned on
2008-02-28 10:52:04 +01:00
msvensson@pilot.mysql.com
8d6d318c6b Only uise one file for current test
Don't retry by default
Fixes for --embedded
2008-02-25 16:41:59 +01:00
joerg@trift2.
260081267d mysql-test/mysql-test-run.pl
Disable extra team trees.
    Temporary fix for entry 34761 in the bugs DB.
    (Patch by Magnus Svensson, 2008-02-22 17:40:14+01:00, msvensson@pilot.mysql.com +1 -0)
2008-02-22 19:15:31 +01:00
joerg@trift2.
25ab6afc03 Merge trift2.:/MySQL/M51/mysql-5.1
into  trift2.:/MySQL/M51/push-5.1
2008-02-22 16:14:27 +01:00
msvensson@pilot.mysql.com
0b547b26db Fix embedded server 2008-02-22 15:38:10 +01:00
msvensson@pilot.mysql.com
de4f78d919 Remove special hack for windows, log-error is already set in my.cnf file 2008-02-22 12:32:02 +01:00
msvensson@pilot.mysql.com
bf65a61567 Use My::Platform
Put all path conversions in one file
Convert the --tmpdir  passed to "mysqld --verbose --help"
2008-02-20 14:55:30 +01:00
tomas@poseidon.bredbandsbolaget.se
3f95d153f6 correction of merge 2008-02-13 20:52:01 +01:00
tomas@poseidon.ndb.mysql.com
3a142141ec Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-rpl-merge
into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-merge
2008-02-12 11:21:05 +01:00
tomas@whalegate.ndb.mysql.com
7376f136e8 Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1
into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-merge
2008-02-06 16:16:49 +01:00
tsmith@ramayana.hindu.god
b499e62ce8 Merge ramayana.hindu.god:/home/tsmith/m/bk/build/50
into  ramayana.hindu.god:/home/tsmith/m/bk/build/51

Also use the opportunity to fix a bad merge (remove
duplicate code in mysql-test-run.pl).
2008-02-05 23:20:12 -07:00
tsmith@ramayana.hindu.god
cb87f97c4e Minor typo fix for mysql-test-run.pl 2008-02-05 23:16:52 -07:00
mkindahl@dl145h.mysql.com
0155420624 Removing duplicate code from mysql-test-run.pl 2008-02-06 06:18:06 +01:00
msvensson@pilot.mysql.com
86d065f525 Make mtr_report.pl into it's own package
Remove mtr_log_*
2008-02-04 11:16:25 +01:00
msvensson@pilot.mysql.com
c10fb20dd2 Merge bk-internal:/home/bk/mysql-5.1-maint2
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-02-04 09:16:37 +01:00
msvensson@pilot.mysql.com
abb0bdde9e Add --verbose-restart 2008-02-04 09:15:44 +01:00
mkindahl@dl145h.mysql.com
4c95b29614 Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.1
into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl-merge
2008-01-31 17:46:50 +01:00
msvensson@shellback.(none)
e0717e2e56 Make "./mtr --start" exit if any child process dies 2008-01-18 22:30:38 +01:00
msvensson@shellback.(none)
fad93c7ad8 Remove duplcate code after merge 2008-01-18 16:48:08 +01:00
msvensson@shellback.(none)
df9d0ad133 Merge bk-internal:/home/bk/mysql-5.1-maint2
into  shellback.(none):/home/msvensson/mysql/mysql-5.1-mtr
2008-01-18 00:06:30 +01:00
msvensson@pilot.mysql.com
08cbaffbff Allow start-from to also filter on suitename 2008-01-11 10:44:16 +01:00
msvensson@pilot.mysql.com
a7c70e4954 Fix misspelled variable name 2008-01-10 16:38:59 +01:00
msvensson@pilot.mysql.com
727afed657 Add --repeat and --retry 2008-01-10 10:44:18 +01:00
msvensson@pilot.mysql.com
8f8b396e8c Add printouts when servers are restarted
Disable dynamic option switch
2008-01-09 13:47:09 +01:00
msvensson@pilot.mysql.com
af4bede6df Fix reorder 2008-01-09 11:15:59 +01:00
msvensson@pilot.mysql.com
e9d0237017 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-bug32275
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-01-08 15:49:28 +01:00
msvensson@pilot.mysql.com
14aaab792d Fix spelling 2008-01-08 15:48:55 +01:00
msvensson@pilot.mysql.com
284f28d78f Remember dynamically set options as started 2008-01-08 15:47:04 +01:00
msvensson@pilot.mysql.com
03d31f72a0 Remove pidfile after killing serve 2008-01-08 11:11:06 +01:00
msvensson@pilot.mysql.com
3b2cfef637 Use a tempdir name for the directory that var symlink points at, otherwise it can conflict
with another MTR_BUILD_THREAD=auto run
2008-01-08 10:50:07 +01:00
msvensson@pilot.mysql.com
9087ee9170 Try to dynamically change option, restart if it fails 2008-01-07 19:44:48 +01:00
msvensson@shellback.(none)
481e8fecd6 Merge bk-internal:/home/bk/mysql-5.1-maint2
into  shellback.(none):/home/msvensson/mysql/mysql-5.1-mtr
2008-01-07 15:40:54 +01:00
msvensson@shellback.(none)
2f9093e645 calculate build thread earlier
Always set MTR_BUILD_THREAD env variable
2008-01-07 15:39:32 +01:00
tomas@whalegate.ndb.mysql.com
8db7aebcee Merge whalegate.ndb.mysql.com:/home/tomas/cge-5.1
into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-merge
2008-01-04 16:01:36 +01:00
msvensson@pilot.mysql.com
8ba9c0afa7 Ignore --skip-im 2007-12-21 13:06:56 +01:00
msvensson@pilot.mysql.com
412ab8016b Use --skip-ssl by default 2007-12-20 18:42:23 +01:00
mkindahl@dl145h.mysql.com
bdea24f483 Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl-merge
2007-12-19 18:51:46 +01:00
msvensson@pilot.mysql.com
b93f8b6820 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-win
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2007-12-19 13:06:03 +01:00