summaryrefslogtreecommitdiff
path: root/mysql-test/lib/mtr_misc.pl
diff options
context:
space:
mode:
authorunknown <iggy@rolltop.ignatz42.dyndns.org>2006-11-02 15:05:20 -0500
committerunknown <iggy@rolltop.ignatz42.dyndns.org>2006-11-02 15:05:20 -0500
commit8e6b1e384933e0ce238f131b356379be58a55480 (patch)
treea5d7c8f2e791dfc3fdb0542a2b0eb86973210d76 /mysql-test/lib/mtr_misc.pl
parentd2c90fcb8ecee24d68df83c83a70c0a8b8ab77c8 (diff)
downloadmariadb-git-8e6b1e384933e0ce238f131b356379be58a55480.tar.gz
Bug#23865 mysql-test-run.pl on Windows only supports debug and release configurations
Visual Studio builds each configuration in a different sub-directory. Only the sub- directories for release and debug are currently searched. mysql-test/lib/mtr_misc.pl: Bug#23865 mysql-test-run.pl on Windows only supports debug and release configurations - Added usage comments. mysql-test/mysql-test-run.pl: Bug#23865 mysql-test-run.pl on Windows only supports debug and release configurations - Moved Initial_Setup function to the command_line_setup function. - Defined new argument vs-config which can be used to inidicate the VS Configuration used to create the test executables. Argument can also be controlled with MTR_VS_CONFIG environment variable.
Diffstat (limited to 'mysql-test/lib/mtr_misc.pl')
-rw-r--r--mysql-test/lib/mtr_misc.pl15
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/lib/mtr_misc.pl b/mysql-test/lib/mtr_misc.pl
index 5ac89aee62c..c016f3dc34f 100644
--- a/mysql-test/lib/mtr_misc.pl
+++ b/mysql-test/lib/mtr_misc.pl
@@ -66,6 +66,9 @@ sub mtr_add_arg ($$@) {
##############################################################################
+# Note - More specific paths should be given before less specific. For examle
+# /client/debug should be listed before /client
+
sub mtr_path_exists (@) {
foreach my $path ( @_ )
{
@@ -81,6 +84,9 @@ sub mtr_path_exists (@) {
}
}
+# Note - More specific paths should be given before less specific. For examle
+# /client/debug should be listed before /client
+
sub mtr_script_exists (@) {
foreach my $path ( @_ )
{
@@ -103,6 +109,9 @@ sub mtr_script_exists (@) {
}
}
+# Note - More specific paths should be given before less specific. For examle
+# /client/debug should be listed before /client
+
sub mtr_file_exists (@) {
foreach my $path ( @_ )
{
@@ -111,6 +120,9 @@ sub mtr_file_exists (@) {
return "";
}
+# Note - More specific paths should be given before less specific. For examle
+# /client/debug should be listed before /client
+
sub mtr_exe_maybe_exists (@) {
my @path= @_;
@@ -129,6 +141,9 @@ sub mtr_exe_maybe_exists (@) {
return "";
}
+# Note - More specific paths should be given before less specific. For examle
+# /client/debug should be listed before /client
+
sub mtr_exe_exists (@) {
my @path= @_;
if (my $path= mtr_exe_maybe_exists(@path))