Commit graph

1331 commits

Author SHA1 Message Date
Leonard Zhou
d3b3778477 BUG#27477 Remove tmp-directory on MTR start
mysql-test/mysql-test-run.pl:
  Remove tmp-directory on MTR start
2008-12-09 18:52:10 +08:00
Patrick Crews
789bbbb037 Bug#41258: mysql-test-run does not copy subdirectories of std_data on Windows (5.0 only)
Altered how we copy data from mysql-test/std_data on Windows to match what we are doing in 5.1 and 6.0
2008-12-05 08:21:03 -05:00
Sven Sandberg
82efca8d6b Clarified the error message printed when mtr's test cleanup check fails.
mysql-test/mysql-test-run.pl:
  Clarified error message printed when test cleanup check fails.
2008-11-25 17:51:02 +01:00
Magnus Svensson
66ced5f490 Bug#40891 test suite timeouts on valgrind host in pushbuild 2008-11-21 13:45:28 +01:00
Magnus Svensson
39be835d9c mtr - temporarily turn on verbose 2008-11-21 08:57:46 +01:00
Serge Kozlov
ab0e404c73 Bug#39861, added comment to mtr 2008-11-15 14:40:40 +03:00
Serge Kozlov
6518490844 fix for bug#39861 2008-11-15 00:44:56 +03:00
Serge Kozlov
3e0fb46142 Bug#39861:
1. mysqltest.cc - added flush to log file after each executed command in a testcase.
2. mtr shows 20 last lines from test case log file if timeout reached.
3. Optimizing the code by Magnus review.
4. It is partially fix bug#40150
2008-11-14 23:35:32 +03:00
Magnus Svensson
f462fac548 Bug#40705 mtr's check-warnings fails sporadically in pushbuild
- Change the logic slightly for when and how errors from
   check-warnings and check-testcase are reported. The prevoius logic
   reporting testfailed twice and that might have caused this.
 - Also print result code returned from mysqltest when it is "unexpected"
2008-11-14 13:19:37 +01:00
Magnus Svensson
c35214cdd2 WL#4189 Temporarily set parallel=1 by default 2008-11-14 10:22:44 +01:00
Magnus Svensson
b454d067cb WL#4189 Add full backward compatibility to mysql-test-run.pl
- Add copy of mtr v1 and make it possible to run it using MTR_VERSION=1
2008-11-14 09:45:32 +01:00
Magnus Svensson
6be5398f3b WL#4189 Use only one worker for --record 2008-11-10 16:10:49 +01:00
Magnus Svensson
63891d63d6 Bug#40193 mtr --record is currently broken in 5.1-rpl and 6.0-rpl 2008-11-10 14:53:53 +01:00
Magnus Svensson
754ee26310 WL#4189 removed unused variables 2008-11-10 14:53:21 +01:00
Magnus Svensson
affa5fc62d WL#4189 - fix for running from bin dist 2008-11-07 16:22:53 +01:00
Chad MILLER
8e682f8c17 Symlink master sock if it is moved elsewhere for path-length reasons. 2008-11-03 13:10:59 -05:00
Magnus Svensson
770ef5c307 WL#4189 Set parallel to 1 if running under vmware on windows 2008-10-11 17:30:26 +02:00
Magnus Svensson
8873148dbf BUG#39008 Additional fix after review, remove files that could potentially be set to path outside datadir 2008-10-10 16:19:04 +02:00
Magnus Svensson
ce9f585b48 Merge 2008-10-08 22:30:56 +02:00
Magnus Svensson
c11b5ddfa8 WL#4189 add verbose also when starting check testcase 2008-10-06 19:34:00 +02:00
Vladislav Vaintroub
e7b5c1e750 merge fix for 38629 from 5.0 2008-10-02 17:56:29 +02:00
Vladislav Vaintroub
42e48bc46d Bug #38629
mysql-test-run.pl --start-and-exit starts but does not exit
Instead, it hangs with ActiveState perl. The error is
believed to be a bug in ActiveState implementation.
Workaround is using POSIX::_exit, as described here
http://www.perlmonks.org/?node_id=334610

Thanks to Philip Stoev for the idea of the patch.
2008-10-02 16:29:41 +02:00
Magnus Svensson
1a4e896e5f Print tests that has not been run 2008-09-22 18:52:19 +03:00
Magnus Svensson
a50eed3a27 Bug #37312 Make tests binlog_row_innodb_stat and binlog_stm_innodb_stat more robust
mysql-test/lib/mtr_cases.pl:
  forward port the algorithm to check if a binlog format is supported
mysql-test/mysql-test-run.pl:
  Don't use dynamic setting of binlog format - does not work
2008-09-22 12:03:00 +03:00
Magnus Svensson
ed64708336 WL#4189 fix small scheduler loop problem causing report that not all tests were run 2008-09-22 10:02:45 +03:00
Magnus Svensson
bc544c00ca Change typo . -> , 2008-09-20 17:00:05 +03:00
Magnus Svensson
231984dd5d Versional testing support 2008-09-20 16:51:31 +03:00
Magnus Svensson
b8413de10d WL4189 Cap the autodetected parallelism value to 8 2008-09-15 17:09:27 +02:00
Magnus Svensson
a579d62eb2 WL#4189 Create a tempdir if tmpdir path becomes too long 2008-09-15 17:05:14 +02:00
Magnus Svensson
b84fb2e862 WL#4189 mtr, hang if worker fails before connected to server 2008-09-15 12:15:08 +02:00
Magnus Svensson
7e33216d6c WL#4189 mtr --embedded from binary distribution 2008-09-15 12:13:47 +02:00
Magnus Svensson
0456e23984 WL#4350 Fix --record and no .result file 2008-09-11 22:05:44 +02:00
Magnus Svensson
d19ff689ca WL#4350 Improve error message 2008-09-11 18:30:30 +02:00
Magnus Svensson
258c88471f Bug#38817 please make mtr analyze crashes better 2008-09-06 08:57:05 +02:00
Magnus Svensson
7ef8929ba4 Bug#35482 mysql-test-run have_innodb does not detect external server has Innodb support 2008-09-05 18:28:20 +02:00
Magnus Svensson
599498fc22 Bug#32052 Small inconsistency with the big_test and ndb_extra test options 2008-09-05 17:37:55 +02:00
Magnus Svensson
ace34f0796 Bug #39071 mtr's check-testcase reports extra failures for correct test cases 2008-09-05 16:22:02 +02:00
Magnus Svensson
2a33330fa6 Merge 2008-09-05 16:06:54 +02:00
Magnus Svensson
eccebaacf3 Bug #39213 Could not find reason for skipping test 2008-09-05 16:06:08 +02:00
Magnus Svensson
ee1c00d97d WL#4350
- fix scheduler bug
2008-09-05 15:09:29 +02:00
Magnus Svensson
79a6981f30 Bug#39008 perl warning in mtr: 'use of uninitialized value in concatenation' in mtr:3995
mysql-test/mysql-test-run.pl:
  Don't bother to remove particular files from the datadir, based on what 
  config parameters are available. Just remove whole datadir
2008-09-05 14:40:07 +02:00
Magnus Svensson
455189602f Make mysql-test-run.pl executable by user 2008-09-05 14:23:52 +02:00
Magnus Svensson
861c2df262 WL#4350
- Rearrange spawn worker code

mysql-test/mysql-test-run.pl:
   - Rearrange the spawning of workers to make it possible to not
     spawn more workers than number of tests to run
   - This also make it enough to parse args in the main thread
2008-09-05 14:09:39 +02:00
Magnus Svensson
4b1183375f Fix gcov in mtr.pl 2008-09-05 11:32:33 +02:00
Magnus Svensson
6b9e2b9a1a Bug#36616 rpl tests without 'source include/have_log_bin.inc' fail starting server 2008-08-29 14:46:22 +02:00
Magnus Svensson
8676a302b5 Bug#33337, silently convert --gdb(etc.) to --client-gdb in embedded mode 2008-08-29 12:33:02 +02:00
Magnus Svensson
13ccc61f9d Print error message in diff_files if any of the two files to diff does not exist 2008-08-29 12:25:19 +02:00
Magnus Svensson
75b4bdef13 Don't use slots 200-249 since they are also used by PB 2008-08-11 10:41:12 +02:00
Magnus Svensson
182b14114a Fixup mtr_unique. Remove usage of ps and grep. Make it a module. Move _process_alive to Platform.pm. Rename opt_baseport to baseport, it's not an option 2008-08-10 19:46:43 +02:00
Magnus Svensson
cd0cd4e0a0 Make events_restart more stable by waiting for the server to be stopped before starting it again 2008-08-09 11:16:12 +02:00