Commit graph

655 commits

Author SHA1 Message Date
Magnus Svensson
01a3ac7596 WL4189 Add Handles.pm and use it from My::File::Path to show open handles. Rewrite rmtree to use File::Find so we can get better debug printouts when something fails 2008-10-06 19:51:33 +02:00
Magnus Svensson
c61516c381 Improve gdb coredump 2008-10-06 10:49:12 +02:00
Magnus Svensson
af23ec8579 WL#4189 Wrap the check for socket path length in eval 2008-09-15 16:27:12 +02:00
Magnus Svensson
0456e23984 WL#4350 Fix --record and no .result file 2008-09-11 22:05:44 +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
c11e919980 WL#4350 Options in my.cnf style config file should not start with -- 2008-09-05 15:31:09 +02:00
Magnus Svensson
9235cd4594 Fix misspelled variable in mtr.pl 2008-09-05 14:06:22 +02:00
Magnus Svensson
4b1183375f Fix gcov in mtr.pl 2008-09-05 11:32:33 +02:00
Magnus Svensson
93d835213e Debug printouts 2008-08-11 10:41:23 +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
Magnus Svensson
31c7b018bd Merge 2008-08-04 22:25:45 +02:00
Magnus Svensson
4a38d4d765 Patch for combinations file using different --default-storage-engine= directives 2008-08-04 21:56:20 +02:00
Magnus Svensson
27e8584271 Bug #38181 Please print more debug info when tests fail 2008-08-04 21:54:44 +02:00
Magnus Svensson
d4fc0b76c6 Bug #33810 mysql-test-run can't find testcase if it is in a non-default testsuite 2008-08-01 16:08:51 +02:00
Magnus Svensson
b530dc99c4 Remove debug printout 2008-07-24 22:22:47 +02:00
Magnus Svensson
264621b95b Check that the default-storage-engine used by test is a supported engine 2008-07-24 22:20:35 +02:00
Magnus Svensson
43e396c8d5 Turn off timestamping 2008-06-19 11:20:45 +02:00
Magnus Svensson
dbb0e6ad71 Merge parallel mtr 2008-06-19 10:10:37 +02:00
Magnus Svensson
10968f73a1 Instruct mysql_upgrade what tmpdir to use 2008-06-19 10:07:55 +02:00
Magnus Svensson
f28f84842d Merge
mysql-test/lib/mtr_cases.pm:
  Merge in the new code for enabling federated for federated tests
2008-06-18 16:09:53 +02:00
Georgi Kodinov
ea120c56f5 Bug#37069: Make federated disabled by default
The federated storage engine is now disabled by default.
mysql-test-run.pl is updated to enable it whenever it's required and available.

mysql-test/lib/mtr_cases.pl:
  Bug#37069: mysql-test-run.pl automatically enables federated 
  for federated related tests
sql/sql_plugin.cc:
  Bug#37069: federated is disabled by default
2008-05-30 13:21:45 +03:00
unknown
74cdcba997 (temporarily)Turn on timestamp by default 2008-05-20 11:48:52 +02:00
unknown
2b4652d003 Merge bk-internal:/home/bk/mysql-5.1-maint2
into  pilot.(none):/data/msvensson/mysql/mysql-5.1-maint2


mysql-test/mysql-test-run.pl:
  Auto merged
2008-05-09 12:36:32 +02:00
unknown
1e1918141b Make printout of $name nicer
Remove debug printouts


mysql-test/lib/mtr_report.pm:
  Make printout of $name nicer
mysql-test/mysql-test-run.pl:
  Remove debug printouts
2008-05-09 11:50:36 +02:00
unknown
c51ca133d1 Generate a unique tmpdir for each server to avoid that they delete each others
temporary files at start up - see 'mysql_rm_tmp_tables'


mysql-test/mysql-test-run.pl:
  Create the servers tempdir before starting
2008-05-06 17:11:09 +02:00
unknown
e70c291046 Add printouts
mysql-test/lib/mtr_report.pm:
  Add 'mtr_print'
2008-05-05 22:55:47 +02:00
unknown
7ff37ca6e1 Tune reporting 2008-05-04 23:22:41 +02:00
unknown
80377ad95e Set "timediff" to off by default 2008-05-04 21:43:49 +02:00
unknown
69d26cb560 Move opt_timer to mtr_report.pm 2008-05-04 21:40:40 +02:00
unknown
f30f2b1523 Correctly calculate failed tests 2008-05-04 21:21:11 +02:00
unknown
67ea77eaee Always set bogomips unless already set
Return undef only in case kstat works
Cpus reported once, but with 'cpu_count' set to the actual number
2008-05-04 16:35:16 +02:00
unknown
f2b57ac042 Use SysInfo.pm to find a suitable value for number of workers when
--parallel hasn't been specified
Add lib/My/SysInfo.pm


mysql-test/Makefile.am:
  Add SysInfo.pm
mysql-test/mysql-test-run.pl:
  Use SysInfo.pm to find a suitable value for number of workers when 
  --parallel hasn't been specified
mysql-test/lib/My/SysInfo.pm:
  Add SysInfo.pm
2008-05-04 13:31:40 +02:00
unknown
1e9f11d582 Print tests that has been run but shouldn't and vice versa
Use opt_start_timeout also for ndb
Remove the .result files generated by 'check_testcase'


mysql-test/lib/mtr_report.pm:
  Use "failures" to keep track of if test has previously failed
2008-05-02 12:11:04 +02:00
unknown
645db270ca Move code that saves datadirs to test server
Remove mtr_report_test_failed


mysql-test/lib/mtr_report.pm:
  Remvoe mtr_report_test_failed
2008-04-27 23:35:38 +02:00
unknown
59f38e7268 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


mysql-test/lib/My/SafeProcess.pm:
  Add possiblitiy to store "user_data" in a Safeprocess
  Add function to get pid from a SafeProcess
mysql-test/lib/mtr_report.pm:
  Print and detected test case sideffect also in the test server
mysql-test/mysql-test-run.pl:
  Run all check-warning and check-testcase in parallel, this also give the
  oportunity to check if any other process fails during this.
2008-04-27 21:31:32 +02:00
unknown
ce1ca19593 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-maint2


mysql-test/lib/mtr_cases.pm:
  Auto merged
mysql-test/mysql-test-run.pl:
  Manual merge
2008-04-27 15:43:22 +02:00
unknown
255e30a5bc Merge bk-internal:/home/bk/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl


mysql-test/lib/mtr_cases.pm:
  Auto merged
mysql-test/suite/rpl_ndb/t/disabled.def:
  Auto merged
2008-04-26 10:07:21 +02:00
unknown
34854fc2a5 WL#3754 Fix for mtr, added support personal configuration for test cases
mysql-test/lib/mtr_cases.pm:
  updated library
mysql-test/suite/rpl_ndb/r/rpl_ndb_circular_2ch.result:
  result file for test case
2008-04-25 22:54:20 +04:00
unknown
df8c1eb6fe Add "match end of string" marker so that only "cluster_config.xxx" are found 2008-04-25 16:09:25 +02:00
unknown
ec19196c30 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-maint2


mysql-test/lib/mtr_cases.pm:
  Auto merged
2008-04-25 14:39:24 +02:00
unknown
ff8287db98 Allow aplhanumericals in cluster_confgi.xxx sectio 2008-04-25 14:34:15 +02:00
unknown
70894cb9e4 Make it possible to specify test specifi config file as <testname>.cnf
mysql-test/suite/rpl/t/rpl_000015.cnf:
  Use test specific config file
mysql-test/suite/rpl/t/rpl_rotate_logs.cnf:
  Use test specific config file
2008-04-25 14:07:17 +02:00
unknown
72b0bda19e 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 11:27:07 +02:00
unknown
dbf6b9dc3f Be more prcise in which cluster_config sections should be expanded.
Ie don't treat cluster_config.mysqld.1.1 as a section specifying a cluster
2008-04-25 11:22:15 +02:00
unknown
dfdc6ae897 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-maint2


mysql-test/lib/mtr_cases.pm:
  Auto merged
2008-04-25 10:52:15 +02:00
unknown
32dcf68480 Only allow "suitename" to be used as a aptch if it has at least one
directory part
2008-04-25 10:51:11 +02:00
unknown
586d8cd454 Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-maint2


mysql-test/lib/mtr_cases.pm:
  Auto merged
mysql-test/mysql-test-run.pl:
  Auto merged
mysql-test/lib/mtr_report.pm:
  Manual merge
2008-04-25 08:23:57 +02:00
unknown
570c4c4a89 Print name(of thread) also in mtr_report, testserver does not set name
so it will still look the same, but makes debugging much easier
2008-04-24 20:24:24 +02:00