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

 3175 Bjorn Munch	2011-02-25
      mtr: ignore not finding ctest if in PB2

    modified:
      mysql-test/mysql-test-run.pl
=== modified file 'mysql-test/mysql-test-run.pl'
--- a/mysql-test/mysql-test-run.pl	2011-02-24 15:28:33 +0000
+++ b/mysql-test/mysql-test-run.pl	2011-02-25 13:51:25 +0000
@@ -5684,9 +5684,10 @@ sub run_ctest() {
   $ctest_vs= "-C $opt_vs_config" if $opt_vs_config;
 
   # Also silently ignore if we don't have ctest and didn't insist
+  # Special override: also ignore in Pushbuild, some platforms may not have it
   # Now, run ctest and collect output
   my $ctest_out= `ctest $ctest_vs 2>&1`;
-  if ($? == $no_ctest && $opt_ctest == -1) {
+  if ($? == $no_ctest && $opt_ctest == -1 && ! defined $ENV{PB2WORKDIR}) {
     chdir($olddir);
     return;
   }


Attachment: [text/bzr-bundle] bzr/bjorn.munch@oracle.com-20110225135125-pkemhpeyjd8smog2.bundle
Thread
bzr commit into mysql-5.5-mtr branch (bjorn.munch:3175) Bjorn Munch25 Feb