From 38962196844accc5cbfa199d20ec224f76c129a7 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 7 Mar 2005 13:42:01 +0100 Subject: mysql-test-run to default run with ndbcluster if compiled with that support --- mysql-test/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mysql-test/Makefile.am') diff --git a/mysql-test/Makefile.am b/mysql-test/Makefile.am index 9426b20d09c..b2e86d8c00e 100644 --- a/mysql-test/Makefile.am +++ b/mysql-test/Makefile.am @@ -20,12 +20,14 @@ if HAVE_NDBCLUSTER_DB SUBDIRS = ndb DIST_SUBDIRS=ndb +USE_NDBCLUSTER=\"--ndbcluster\" else # If one uses automake conditionals, automake will automatically # include all possible branches to DIST_SUBDIRS goal. # Reset DIST_SUBDIRS if we don't use NDB SUBDIRS= DIST_SUBDIRS= +USE_NDBCLUSTER=\"\" endif benchdir_root= $(prefix) @@ -98,6 +100,7 @@ SUFFIXES = .sh -e 's!@''MYSQL_TCP_PORT''@!@MYSQL_TCP_PORT@!' \ -e 's!@''MYSQL_NO_DASH_VERSION''@!@MYSQL_NO_DASH_VERSION@!' \ -e 's!@''MYSQL_SERVER_SUFFIX''@!@MYSQL_SERVER_SUFFIX@!' \ + -e 's!@''USE_NDBCLUSTER''@!$(USE_NDBCLUSTER)!g' \ $< > $@-t @CHMOD@ +x $@-t @MV@ $@-t $@ -- cgit v1.2.1