summaryrefslogtreecommitdiff
path: root/mysql-test/lib
diff options
context:
space:
mode:
authorunknown <magnus.blaudd@oracle.com>2012-11-04 22:11:34 +0100
committerunknown <magnus.blaudd@oracle.com>2012-11-04 22:11:34 +0100
commit574b107a5704575d0353ac2771286be97a0ff597 (patch)
treeab7b8fe4f434a63aecf9e19e5b9dfd557112bdbd /mysql-test/lib
parent20ca730f5616c15935d0af7a0b48b29ee9124541 (diff)
downloadmariadb-git-574b107a5704575d0353ac2771286be97a0ff597.tar.gz
mtr.pl
- improve the logic that decides when ndbcluster should be enabled and the extra test suites for MySQL Cluster should be added. Should be consistent and logical now ;)
Diffstat (limited to 'mysql-test/lib')
-rw-r--r--mysql-test/lib/mtr_cases.pm13
1 files changed, 3 insertions, 10 deletions
diff --git a/mysql-test/lib/mtr_cases.pm b/mysql-test/lib/mtr_cases.pm
index af059af7121..b3bc2a83b92 100644
--- a/mysql-test/lib/mtr_cases.pm
+++ b/mysql-test/lib/mtr_cases.pm
@@ -963,18 +963,11 @@ sub collect_one_test_case {
if ( $tinfo->{'ndb_test'} )
{
# This is a NDB test
- if ( $::opt_skip_ndbcluster == 2 )
+ if ( $::ndbcluster_enabled == 0)
{
- # Ndb is not supported, skip it
+ # ndbcluster is disabled
$tinfo->{'skip'}= 1;
- $tinfo->{'comment'}= "No ndbcluster support or ndb tests not enabled";
- return $tinfo;
- }
- elsif ( $::opt_skip_ndbcluster )
- {
- # All ndb test's should be skipped
- $tinfo->{'skip'}= 1;
- $tinfo->{'comment'}= "No ndbcluster tests(--skip-ndbcluster)";
+ $tinfo->{'comment'}= "ndbcluster disabled";
return $tinfo;
}
}