List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:November 26 2010 10:19am
Subject:bzr push into mysql-5.1-mtr branch (bjorn.munch:2953 to 2954) Bug#58482
View as plain text  
 2954 Bjorn Munch	2010-11-25
      Bug #58482 mtr doesn't use suite names from individually specified test cases
      It does work in general, the problem here was that the test name
      'alter_table' matches 'main.alter_table-big' which has already been found.
      Fixed by matching more explicitly (with/without suite name)

    modified:
      mysql-test/lib/mtr_cases.pm
 2953 Bjorn Munch	2010-11-24 [merge]
      merge 58424

    modified:
      mysql-test/mysql-test-run.pl
=== modified file 'mysql-test/lib/mtr_cases.pm'
--- a/mysql-test/lib/mtr_cases.pm	2010-11-05 14:26:38 +0000
+++ b/mysql-test/lib/mtr_cases.pm	2010-11-25 12:43:58 +0000
@@ -143,7 +143,7 @@ sub collect_test_cases ($$$) {
       {
 	last unless $opt_reorder;
 	# test->{name} is always in suite.name format
-	if ( $test->{name} =~ /.*\.$tname/ )
+	if ( $test->{name} =~ /^$sname.*\.$tname$/ )
 	{
 	  $found= 1;
 	  last;

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-5.1-mtr branch (bjorn.munch:2953 to 2954) Bug#58482Bjorn Munch26 Nov