mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
added option to run all ndb tests only
This commit is contained in:
@ -268,6 +268,7 @@ USE_RUNNING_SERVER=0
|
||||
USE_NDBCLUSTER=@USE_NDBCLUSTER@
|
||||
USE_NDBCLUSTER_SLAVE=@USE_NDBCLUSTER@
|
||||
USE_NDBCLUSTER_ALL=0
|
||||
USE_NDBCLUSTER_ONLY=0
|
||||
USE_RUNNING_NDBCLUSTER=""
|
||||
USE_RUNNING_NDBCLUSTER_SLAVE=""
|
||||
NDB_EXTRA_TEST=0
|
||||
@ -341,6 +342,10 @@ while test $# -gt 0; do
|
||||
USE_NDBCLUSTER="--ndbcluster"
|
||||
USE_NDBCLUSTER_SLAVE="--ndbcluster"
|
||||
USE_NDBCLUSTER_ALL=1 ;;
|
||||
--with-ndbcluster-only)
|
||||
USE_NDBCLUSTER="--ndbcluster"
|
||||
USE_NDBCLUSTER_SLAVE="--ndbcluster"
|
||||
USE_NDBCLUSTER_ONLY=1 ;;
|
||||
--ndb-connectstring=*)
|
||||
USE_NDBCLUSTER="--ndbcluster" ;
|
||||
USE_RUNNING_NDBCLUSTER=`$ECHO "$1" | $SED -e "s;--ndb-connectstring=;;"` ;;
|
||||
@ -1750,6 +1755,10 @@ run_testcase ()
|
||||
if [ "x$USE_NDBCLUSTER_ALL" = "x1" ] ; then
|
||||
NDBCLUSTER_TEST=1
|
||||
fi
|
||||
if [ "x$USE_NDBCLUSTER_ONLY" = "x1" -a "x$NDBCLUSTER_TEST" != "x1" ] ; then
|
||||
skip_test $tname
|
||||
return
|
||||
fi
|
||||
if [ "$USE_MANAGER" = 1 ] ; then
|
||||
many_slaves=`$EXPR \( \( $tname : rpl_failsafe \) != 0 \) \| \( \( $tname : rpl_chain_temp_table \) != 0 \)`
|
||||
fi
|
||||
|
Reference in New Issue
Block a user