List:Commits« Previous MessageNext Message »
From:tomas Date:December 18 2007 11:54am
Subject:bk commit into 5.1 tree (tomas:1.2647)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of tomas.  When tomas does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2007-12-18 11:54:19+01:00, tomas@stripped +1 -0
  search for clone several step in the path name

  mysql-test/mysql-test-run.pl@stripped, 2007-12-18 11:54:16+01:00, tomas@stripped +11 -4
    search for clone several step in the path name

diff -Nrup a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
--- a/mysql-test/mysql-test-run.pl	2007-12-11 19:52:32 +01:00
+++ b/mysql-test/mysql-test-run.pl	2007-12-18 11:54:16 +01:00
@@ -409,13 +409,20 @@ sub main () {
     {
       # use default and add any extra_suites as defined
       $opt_suites= $opt_suites_default;
-      my $ddd= basename(dirname($glob_mysql_test_dir));
-      foreach my $extra_suite (@extra_suites)
+      my $ccc= dirname($glob_mysql_test_dir);
+      my $found= 0;
+      while (!$found and !($ccc eq "/") and !($ccc eq ""))
       {
-	if ($extra_suite->[0] eq "$ddd")
+	my $ddd= basename($ccc);
+	foreach my $extra_suite (@extra_suites)
 	{
-	  $opt_suites= "$extra_suite->[1],$opt_suites";
+	  if ($extra_suite->[0] eq "$ddd")
+	  {
+	    $opt_suites= "$extra_suite->[1],$opt_suites";
+	    $found= 1;
+	  }
 	}
+	$ccc= dirname($ccc);
       }
     }
 
Thread
bk commit into 5.1 tree (tomas:1.2647)tomas18 Dec