List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:November 25 2010 12:47pm
Subject:bzr commit into mysql-5.1-mtr branch (bjorn.munch:2954) Bug#58482
View as plain text  
#At file:///home/bm136801/my/mixsuite-51/ based on revid:bjorn.munch@stripped

 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
=== 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;


Attachment: [text/bzr-bundle] bzr/bjorn.munch@oracle.com-20101125124358-56pupeczviy1o7fy.bundle
Thread
bzr commit into mysql-5.1-mtr branch (bjorn.munch:2954) Bug#58482Bjorn Munch25 Nov