From 951e8d05fb32085294abb16aab6d0cd987f9782e Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Tue, 29 Mar 2016 13:42:39 +1100 Subject: [PATCH] MTR: record rpl_test for replication test suite This enables --skip-rpl option on mtr to actually skip replication tests. --- mysql-test/lib/mtr_cases.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mysql-test/lib/mtr_cases.pm b/mysql-test/lib/mtr_cases.pm index c52ccc9..3984960 100644 --- a/mysql-test/lib/mtr_cases.pm +++ b/mysql-test/lib/mtr_cases.pm @@ -853,6 +853,10 @@ sub collect_one_test_case { return $tinfo; } + if ( $suitename =~ 'rpl' ) + { + $tinfo->{'rpl_test'} = 1; + } # ---------------------------------------------------------------------- # Check for disabled tests # ----------------------------------------------------------------------