mysql-test-run to default run with ndbcluster if compiled with that support

parent ce870852
...@@ -20,12 +20,14 @@ ...@@ -20,12 +20,14 @@
if HAVE_NDBCLUSTER_DB if HAVE_NDBCLUSTER_DB
SUBDIRS = ndb SUBDIRS = ndb
DIST_SUBDIRS=ndb DIST_SUBDIRS=ndb
USE_NDBCLUSTER=\"--ndbcluster\"
else else
# If one uses automake conditionals, automake will automatically # If one uses automake conditionals, automake will automatically
# include all possible branches to DIST_SUBDIRS goal. # include all possible branches to DIST_SUBDIRS goal.
# Reset DIST_SUBDIRS if we don't use NDB # Reset DIST_SUBDIRS if we don't use NDB
SUBDIRS= SUBDIRS=
DIST_SUBDIRS= DIST_SUBDIRS=
USE_NDBCLUSTER=\"\"
endif endif
benchdir_root= $(prefix) benchdir_root= $(prefix)
...@@ -98,6 +100,7 @@ SUFFIXES = .sh ...@@ -98,6 +100,7 @@ SUFFIXES = .sh
-e 's!@''MYSQL_TCP_PORT''@!@MYSQL_TCP_PORT@!' \ -e 's!@''MYSQL_TCP_PORT''@!@MYSQL_TCP_PORT@!' \
-e 's!@''MYSQL_NO_DASH_VERSION''@!@MYSQL_NO_DASH_VERSION@!' \ -e 's!@''MYSQL_NO_DASH_VERSION''@!@MYSQL_NO_DASH_VERSION@!' \
-e 's!@''MYSQL_SERVER_SUFFIX''@!@MYSQL_SERVER_SUFFIX@!' \ -e 's!@''MYSQL_SERVER_SUFFIX''@!@MYSQL_SERVER_SUFFIX@!' \
-e 's!@''USE_NDBCLUSTER''@!$(USE_NDBCLUSTER)!g' \
$< > $@-t $< > $@-t
@CHMOD@ +x $@-t @CHMOD@ +x $@-t
@MV@ $@-t $@ @MV@ $@-t $@
......
...@@ -218,7 +218,7 @@ EXTRA_MYSQL_TEST_OPT="" ...@@ -218,7 +218,7 @@ EXTRA_MYSQL_TEST_OPT=""
EXTRA_MYSQLDUMP_OPT="" EXTRA_MYSQLDUMP_OPT=""
EXTRA_MYSQLBINLOG_OPT="" EXTRA_MYSQLBINLOG_OPT=""
USE_RUNNING_SERVER="" USE_RUNNING_SERVER=""
USE_NDBCLUSTER="" USE_NDBCLUSTER=@USE_NDBCLUSTER@
USE_RUNNING_NDBCLUSTER="" USE_RUNNING_NDBCLUSTER=""
USE_PURIFY="" USE_PURIFY=""
PURIFY_LOGS="" PURIFY_LOGS=""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment