1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug #58896 MTR should recognise combinations as experimental without needing wildcards

Added a pattern match to cover combinations
Added to readme file
This commit is contained in:
Bjorn Munch
2011-01-11 10:53:22 +01:00
parent 8645caf79d
commit f3bc9f699c
3 changed files with 8 additions and 3 deletions

View File

@ -129,7 +129,8 @@ sub mtr_report_test ($) {
# Find out if this test case is an experimental one, so we can treat
# the failure as an expected failure instead of a regression.
for my $exp ( @$::experimental_test_cases ) {
if ( $exp ne $test_name ) {
# Include pattern match for combinations
if ( $exp ne $test_name && $test_name !~ /^$exp / ) {
# if the expression is not the name of this test case, but has
# an asterisk at the end, determine if the characters up to
# but excluding the asterisk are the same