@@ -97,36 +97,35 @@ tags:
97
97
support-files/build-tags
98
98
.PHONY : init-db bin-dist
99
99
100
- # Test installation. Ports are configurable from the environment.
101
-
102
- MYSQL_TEST_MANAGER_PORT = 9305
103
- MYSQL_TEST_MASTER_PORT = 9306
104
- MYSQL_TEST_SLAVE_PORT = 9308
105
- MYSQL_TEST_NDB_PORT = 9350
106
- MYSQL_TEST_RUN_ARGS = --manager-port=$(MYSQL_TEST_MANAGER_PORT ) \
107
- --master_port=$(MYSQL_TEST_MASTER_PORT ) \
108
- --slave_port=$(MYSQL_TEST_SLAVE_PORT ) \
109
- --ndbcluster_port=$(MYSQL_TEST_NDB_PORT )
100
+ # Target 'test' will run the regression test suite using the built server.
101
+ #
102
+ # If you are running in a shared environment, users can avoid clashing
103
+ # port numbers by setting individual small numbers 1-100 to the
104
+ # environment variable MTR_BUILD_THREAD. The script "mysql-test-run"
105
+ # will then calculate the various port numbers it needs from this,
106
+ # making sure each user use different ports.
110
107
111
108
test :
112
109
cd mysql-test ; \
113
- ./mysql-test-run $( MYSQL_TEST_RUN_ARGS ) && \
114
- ./mysql-test-run $( MYSQL_TEST_RUN_ARGS ) --ps-protocol
110
+ ./mysql-test-run && \
111
+ ./mysql-test-run --ps-protocol
115
112
116
113
test-force :
117
- cd mysql-test ; \
118
- ./mysql-test-run $( MYSQL_TEST_RUN_ARGS ) --force ; \
119
- ./mysql-test-run $( MYSQL_TEST_RUN_ARGS ) --ps-protocol --force
114
+ cd mysql-test; \
115
+ ./mysql-test-run --force ; \
116
+ ./mysql-test-run --ps-protocol --force
120
117
118
+ # We are testing a new Perl version of the test script
121
119
test-pl :
122
- cd mysql-test ; \
123
- ./mysql-test-run.pl $( MYSQL_TEST_RUN_ARGS ) && \
124
- ./mysql-test-run.pl $( MYSQL_TEST_RUN_ARGS ) --ps-protocol
120
+ cd mysql-test; \
121
+ ./mysql-test-run.pl && \
122
+ ./mysql-test-run.pl --ps-protocol
125
123
126
124
test-force-pl :
127
- cd mysql-test ; \
128
- ./mysql-test-run.pl $( MYSQL_TEST_RUN_ARGS ) --force ; \
129
- ./mysql-test-run.pl $( MYSQL_TEST_RUN_ARGS ) --ps-protocol --force
125
+ cd mysql-test; \
126
+ ./mysql-test-run.pl --force ; \
127
+ ./mysql-test-run.pl --ps-protocol --force
130
128
131
129
# Don't update the files from bitkeeper
132
130
% ::SCCS/s.%
131
+
0 commit comments