mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
Makefile.am:
Make ports configurable from environment for test
This commit is contained in:
parent
fe977b0cd0
commit
e2954b29a1
1 changed files with 10 additions and 3 deletions
13
Makefile.am
13
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue