Commit graph

70 commits

Author SHA1 Message Date
Magnus Svensson
260c3491a9 WL#41890 After review fixes, remove unecessary if's 2008-10-10 09:19:19 +02:00
Magnus Svensson
cc08b5cd85 Merge 2008-10-08 22:43:37 +02:00
Magnus Svensson
2359d44c61 Merge 2008-10-08 22:30:56 +02:00
Magnus Svensson
956c109c0f BUG#38559 Annoying cygwin problem fixed by resolving pid->winpid before kill instead of just after fork 2008-10-08 22:06:10 +02:00
Magnus Svensson
c2858e8b5b WL#4189 NO need to retry OpenEvent if the process does not exist anymore 2008-10-08 22:02:32 +02:00
Magnus Svensson
5b8771ea3a WL4189 Active state perl fixes 2008-10-08 20:25:28 +02:00
Magnus Svensson
870699c9f7 WL#4189 Only kill process that hasn't yet finished at end of mtr.pl. Improve debug printout 2008-10-06 19:52:26 +02:00
Magnus Svensson
ab5c044e4d 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
c84dfbbd6a Improve gdb coredump 2008-10-06 10:49:12 +02:00
Magnus Svensson
13e6758df0 Memoize functions that converts between different paths, a given input string will always return the same output. This save a lot of calls to cygpath for example 2008-09-22 19:15:55 +03:00
Magnus Svensson
c955eb6b68 Print 'cygpath -m' command if it fails 2008-09-22 18:44:35 +03:00
Magnus Svensson
9e06353040 Use --batch when invoking gdb, to make sure it will exit in case of an error in the command files. 2008-09-20 17:10:22 +03:00
Magnus Svensson
02eee93f3a Versional testing support 2008-09-20 16:51:31 +03:00
Magnus Svensson
67580cd220 Make sure the direcory where the test socket is to be created exists 2008-09-20 15:21:29 +03:00
Magnus Svensson
4174c68595 WL#4189 Wrap the check for socket path length in eval 2008-09-15 16:27:12 +02:00
Magnus Svensson
1d8583f5a2 Bug#38817 please make mtr analyze crashes better 2008-09-06 08:57:05 +02:00
Magnus Svensson
189ac2c7d4 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
9dbcf1b26f WL#4350 Options in my.cnf style config file should not start with -- 2008-09-05 15:31:09 +02:00
Magnus Svensson
788362de81 Debug printouts 2008-08-11 10:41:23 +02:00
Magnus Svensson
c431b23bae 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
05386f9033 Remove debug printout 2008-07-24 22:22:47 +02:00
Magnus Svensson
ce4b99857b Instruct mysql_upgrade what tmpdir to use 2008-06-19 10:07:55 +02:00
msvensson@shellback.(none)
c45e9ff746 Generate a unique tmpdir for each server to avoid that they delete each others
temporary files at start up - see 'mysql_rm_tmp_tables'
2008-05-06 17:11:09 +02:00
msvensson@pilot.(none)
6cef6279c2 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
msvensson@pilot.(none)
e088f111e9 Use SysInfo.pm to find a suitable value for number of workers when
--parallel hasn't been specified
Add lib/My/SysInfo.pm
2008-05-04 13:31:40 +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
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
d8b5c50e6b Add "match end of string" marker so that only "cluster_config.xxx" are found 2008-04-25 16:09:25 +02:00
msvensson@pilot.mysql.com
6f25eadbf4 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 14:39:24 +02:00
msvensson@pilot.mysql.com
63389b150c Allow aplhanumericals in cluster_confgi.xxx sectio 2008-04-25 14:34:15 +02:00
msvensson@pilot.mysql.com
1e0f353b47 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
msvensson@pilot.mysql.com
99a5c22d11 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
msvensson@pilot.mysql.com
ba900fe302 Add support for running in parallel 2008-04-24 13:02:53 +02:00
msvensson@pilot.mysql.com
113dd00d42 Always return 0 inidcating that socket path would not be truncated when
running on windows. Apparently Cygwin tries to emulate UNIX Socket and thus
fails to create one.
2008-04-22 21:55:09 +02:00
msvensson@pilot.mysql.com
23f462137e Since IO::Socket::UNIX is part of core perl, it's not enough to
"eval use" it. Instead trap the error that occurs when creating the socket
on platforms that does not support it.
2008-04-22 12:43:38 +02:00
msvensson@pilot.mysql.com
ceb5e439a6 Improve 'collect_one_suite' so it looks in storage/*/mysql-test-suites by default
Also make it possible to specify a path to the suite, for example:
./mtr --suite=/some/path/to/suitedir
2008-04-22 12:40:48 +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
16d4936e3b Set verbose to off by default 2008-04-02 10:08:44 +02:00
msvensson@pilot.mysql.com
d8a6ff5d60 Only use safe_kill if SAFE_WINPID is defined 2008-03-14 19:15:01 +01:00
msvensson@pilot.mysql.com
1e39c3cc70 kickstart the fake cygwin process in case safe_kill fails
Loop twice over process to shutdown, first handle thise that has been
shutdown and then continue with the ones that have been killed
2008-03-14 14:01:12 +01:00
msvensson@pilot.mysql.com
60dcedb7c2 Add additional printouts
Fix formatting
2008-03-14 13:34:39 +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
c74678e227 New Makefile.am for mysql-test makes it pass also "make distcheck" and "make install" 2008-03-13 17:07:11 +01:00
msvensson@pilot.mysql.com
af585cf4d8 Also copy [mysqld] section to [embedded] 2008-03-12 12:35:30 +01:00
msvensson@pilot.mysql.com
0dba42cf7c Improve process kill on windows 2008-03-12 11:32:18 +01:00
msvensson@pilot.mysql.com
a4b15aa3fa Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr-win
into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-mtr
2008-03-10 16:42:04 +01:00
msvensson@pilot.mysql.com
20b3c15590 Improve error message dir -> croak 2008-03-10 16:37:37 +01:00
msvensson@pilot.mysql.com
5dbb4c96eb Ignore all common signals
Just retry OpenEvent a couple of times with a "yield" in between
2008-03-10 16:00:39 +01:00
msvensson@pilot.mysql.com
afefb65cea Print args in case requirement fails 2008-03-10 14:09:59 +01:00
msvensson@pilot.mysql.com
34605cc110 Add retry logic for OpenEvent to avoid problems when the
process to kill hasn't yet created the event
2008-03-10 12:54:46 +01:00