Bug #54161 | MTR: disabled.def lists don't work with FQ test names | ||
---|---|---|---|
Submitted: | 1 Jun 2010 21:30 | Modified: | 14 Oct 2010 15:40 |
Reporter: | Luis Soares | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Tools: MTR / mysql-test-run | Severity: | S3 (Non-critical) |
Version: | mysql-next-mr | OS: | Any |
Assigned to: | Luis Soares | CPU Architecture: | Any |
Tags: | mtr |
[1 Jun 2010 21:30]
Luis Soares
[1 Jun 2010 21:49]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/109821 3398 Luis Soares 2010-06-01 BUG#54161: MTR: disabled.def lists don't work with FQ test names MTR will ignore fully qualified test name entries in disabled.def lists. Therefore, it would still run the test case, even if it is listed. This patch fix this by extending the check when marking the test case as disabled to take into consideration not only the cases that contain the simple test name but also those that contain fully qualified test names.
[1 Jun 2010 21:55]
Bjørn Munch
Patch looks reasonable, but I wonder why you need this?
[1 Jun 2010 22:15]
Luis Soares
Context: WL#5408. I need this for WL#5408, so that I can specify multiple disabled lists each with entries containing FQ test names. If I don't have that, I risk disabling tests with the same name but under different suites. So if I want to disabled test suite1.test1 and not suite2.test1 I could not do it just by simply adding: "test1 : my precious comment" to the list.
[2 Jun 2010 11:14]
Bjørn Munch
Ok I see the point. The if/else can be simplified as: # Test name may have been disabled with or without suite name part $tinfo->{'comment'}= $disabled->{$tname} || $disabled->{"$suitename.$tname"};
[2 Jun 2010 11:21]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/109949 3398 Luis Soares 2010-06-02 BUG#54161: MTR: disabled.def lists don't work with FQ test names MTR will ignore fully qualified test name entries in disabled.def lists. Therefore, it would still run the test case, even if it is listed. This patch fix this by extending the check when marking the test case as disabled to take into consideration not only the cases that contain the simple test name but also those that contain fully qualified test names.
[2 Jun 2010 11:29]
Bjørn Munch
Patch is good.
[17 Jun 2010 6:13]
Bugs System
Pushed into 5.5.5-m3 (revid:alexey.kopytov@sun.com-20100615145247-8bj0vmuqlotbqsn9) (version source revid:luis.soares@sun.com-20100602121647-82wb33qj5afnz0ft) (merge vers: 5.5.5-m3) (pib:16)
[17 Jun 2010 6:16]
Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100615150216-cubqoyn1fj9b6a2p) (version source revid:alik@sun.com-20100607075151-xjus8wzgjv3g9ok0) (pib:16)
[17 Jun 2010 19:41]
Paul DuBois
Test suite changes. No changelog entry needed.
[19 Jul 2010 14:35]
Bugs System
Pushed into 5.1.49 (revid:build@mysql.com-20100719143034-omcma40sblwmay3x) (version source revid:luis.soares@sun.com-20100602121330-wh0qye84rg13i5ej) (merge vers: 5.1.48) (pib:16)
[23 Jul 2010 12:26]
Bugs System
Pushed into mysql-trunk 5.5.6-m3 (revid:alik@sun.com-20100723121820-jryu2fuw3pc53q9w) (version source revid:vasil.dimov@oracle.com-20100531152341-x2d4hma644icamh1) (merge vers: 5.5.5-m3) (pib:18)
[23 Jul 2010 12:33]
Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100723121929-90e9zemk3jkr2ocy) (version source revid:vasil.dimov@oracle.com-20100531152341-x2d4hma644icamh1) (pib:18)
[14 Oct 2010 8:37]
Bugs System
Pushed into mysql-5.1-telco-7.0 5.1.51-ndb-7.0.20 (revid:martin.skold@mysql.com-20101014082627-jrmy9xbfbtrebw3c) (version source revid:vasil.dimov@oracle.com-20100531152341-x2d4hma644icamh1) (merge vers: 5.5.5-m3) (pib:21)
[14 Oct 2010 8:52]
Bugs System
Pushed into mysql-5.1-telco-6.3 5.1.51-ndb-6.3.39 (revid:martin.skold@mysql.com-20101014083757-5qo48b86d69zjvzj) (version source revid:vasil.dimov@oracle.com-20100531152341-x2d4hma644icamh1) (merge vers: 5.5.5-m3) (pib:21)
[14 Oct 2010 9:07]
Bugs System
Pushed into mysql-5.1-telco-6.2 5.1.51-ndb-6.2.19 (revid:martin.skold@mysql.com-20101014084420-y54ecj85j5we27oa) (version source revid:vasil.dimov@oracle.com-20100531152341-x2d4hma644icamh1) (merge vers: 5.5.5-m3) (pib:21)
[14 Oct 2010 15:40]
Jon Stephens
Setting back to Closed; see above.