List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:April 28 2011 1:46pm
Subject:bzr commit into mysql-5.5-mtr branch (bjorn.munch:3207) Bug#11759877
View as plain text  
#At file:///home/bm136801/my/libdir-55/ based on revid:bjorn.munch@stripped

 3207 Bjorn Munch	2011-04-28
      Bug #11759877 52223: TEST "PLUGIN_DIR_BASIC" DOES NOT SUPPORT RPM BUILD (TEST) DIRECTORY STRUC
      Make a qualified guess: if $basedir/lib does not exist but $basedir/lib64
        does, then the latter is the proper value for $MYSQL_LIBDIR
      Tested on the RPMS of 5.5.12.

    modified:
      mysql-test/mysql-test-run.pl
=== modified file 'mysql-test/mysql-test-run.pl'
--- a/mysql-test/mysql-test-run.pl	2011-04-27 07:45:23 +0000
+++ b/mysql-test/mysql-test-run.pl	2011-04-28 13:43:45 +0000
@@ -2221,6 +2221,10 @@ sub environment_setup {
   $ENV{'MYSQL_TMP_DIR'}=      $opt_tmpdir;
   $ENV{'MYSQLTEST_VARDIR'}=   $opt_vardir;
   $ENV{'MYSQL_LIBDIR'}=       "$basedir/lib";
+  # Override if this does not exist, but lib64 does (best effort)
+  if (! -d "$basedir/lib" && -d "$basedir/lib64") {
+    $ENV{'MYSQL_LIBDIR'}=     "$basedir/lib64";
+  }
   $ENV{'MYSQL_BINDIR'}=       "$bindir";
   $ENV{'MYSQL_SHAREDIR'}=     $path_language;
   $ENV{'MYSQL_CHARSETSDIR'}=  $path_charsetsdir;


Attachment: [text/bzr-bundle] bzr/bjorn.munch@oracle.com-20110428134345-e7jauclsln576hfz.bundle
Thread
bzr commit into mysql-5.5-mtr branch (bjorn.munch:3207) Bug#11759877Bjorn Munch28 Apr