mariadb/mysql-test/lib/My
Vladislav Vaintroub c514d75ebb Handle different installation layouts.
using  cmake option INSTALL_LAYOUT=STANDALONE would produce the layout as in 
tar.gz or zip packages.
INSTALL_LAYOUT=UNIX will produce unixish install layout  (with mysqld being in sbin subdirectory , libs in lib/mysql etc). This layout is used for RPM packages.

Subtle differences in both packages unfortunately lead to the need to recompile MySQL to use with other package type - as otherwise for example default plugins or data directories would be wrong set.

There are numerous other variables that  allow fine-tuning packaging layout. (INSTALL_BINDIR, INSTALL_LIBDIR , INSTALL_PLUGINDIR etc).

This options are different from autotools as they do not expect full paths to directories, but only subdirectory of CMAKE_INSTALL_PREFIX.

There are 2 special options that expect full directory paths
- MYSQL_DATADIR that defines default MYSQL data directory (autotools equivalent
is --localstatedir)
- SYSCONFDIR  can be added to search my.cnf search path (autotools equivalent is --sysconfdir)
2010-01-24 16:23:16 +01:00
..
File Bug #43570 MTR2 hangs when test fails and named pipe created 2009-04-01 16:23:10 +02:00
SafeProcess Handle different installation layouts. 2010-01-24 16:23:16 +01:00
Config.pm WL#4350 Options in my.cnf style config file should not start with -- 2008-09-05 15:31:09 +02:00
ConfigFactory.pm merge 2009-12-11 21:17:17 +01:00
CoreDump.pm change order of cdb parameters to workaround a bug , where command (-c) is not evaluated if -i ,-y or -z contains an invalid path. 2009-03-24 14:44:21 +01:00
Find.pm WL#5161 : Cross-platform build with CMake 2009-11-09 12:32:48 +01:00
Handles.pm 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
Options.pm Add support for running in parallel 2008-04-24 13:02:53 +02:00
Platform.pm Bug #45771 AIX and i5/OS Perl bug: check_socket_path_length in MTR fails 2009-08-06 09:30:53 +02:00
SafeProcess.pm WL#5161 : Cross-platform build with CMake 2009-11-09 12:32:48 +01:00
SysInfo.pm WL#4189 Set parallel to 1 if running under vmware on windows 2008-10-11 17:30:26 +02:00
Test.pm Bug#40715 mtr fails when running the same test case in parallel threads 2008-11-14 11:49:12 +01:00