From e2954b29a12f071023c2a75190bad8ba9f980298 Mon Sep 17 00:00:00 2001 From: "kent@mysql.com" <> Date: Sun, 28 Aug 2005 19:46:56 +0200 Subject: [PATCH] Makefile.am: Make ports configurable from environment for test --- Makefile.am | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 1609b5a1da1..be2d34f8db8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -85,8 +85,15 @@ tags: support-files/build-tags .PHONY: init-db bin-dist -# Test installation +# Test installation. Ports are configurable from the environment. + +MYSQL_TEST_MANAGER_PORT = 9305 +MYSQL_TEST_MASTER_PORT = 9306 +MYSQL_TEST_SLAVE_PORT = 9308 test: - cd mysql-test ; ./mysql-test-run - + cd mysql-test ; \ + ./mysql-test-run \ + --manager-port=$(MYSQL_TEST_MANAGER_PORT) \ + --master_port=$(MYSQL_TEST_MASTER_PORT) \ + --slave_port=$(MYSQL_TEST_SLAVE_PORT)