Commit f658a7a7 authored by unknown's avatar unknown
Browse files

Makefile.am:

  Make ports configurable from environment for test


Makefile.am:
  Make ports configurable from environment for test
parent 97dbe8db
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -85,8 +85,15 @@ tags:
	support-files/build-tags
.PHONY:		init-db bin-dist

# Test installation
# Test installation. Ports are configurable from the environment.

test:
	cd mysql-test ; ./mysql-test-run
MYSQL_TEST_MANAGER_PORT =	9305
MYSQL_TEST_MASTER_PORT =	9306
MYSQL_TEST_SLAVE_PORT =		9308

test:
	cd mysql-test ; \
	./mysql-test-run \
		--manager-port=$(MYSQL_TEST_MANAGER_PORT) \
		--master_port=$(MYSQL_TEST_MASTER_PORT) \
		--slave_port=$(MYSQL_TEST_SLAVE_PORT)