Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
e4408aec
Commit
e4408aec
authored
Oct 26, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
parents
f4e4f846
ab27a943
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
21 deletions
+39
-21
Makefile.am
Makefile.am
+20
-21
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+19
-0
No files found.
Makefile.am
View file @
e4408aec
...
@@ -97,36 +97,35 @@ tags:
...
@@ -97,36 +97,35 @@ tags:
support-files/build-tags
support-files/build-tags
.PHONY
:
init-db bin-dist
.PHONY
:
init-db bin-dist
# Test installation. Ports are configurable from the environment.
# Target 'test' will run the regression test suite using the built server.
#
MYSQL_TEST_MANAGER_PORT
=
9305
# If you are running in a shared environment, users can avoid clashing
MYSQL_TEST_MASTER_PORT
=
9306
# port numbers by setting individual small numbers 1-100 to the
MYSQL_TEST_SLAVE_PORT
=
9308
# environment variable MTR_BUILD_THREAD. The script "mysql-test-run"
MYSQL_TEST_NDB_PORT
=
9350
# will then calculate the various port numbers it needs from this,
MYSQL_TEST_RUN_ARGS
=
--manager-port
=
$(MYSQL_TEST_MANAGER_PORT)
\
# making sure each user use different ports.
--master_port
=
$(MYSQL_TEST_MASTER_PORT)
\
--slave_port
=
$(MYSQL_TEST_SLAVE_PORT)
\
--ndbcluster_port
=
$(MYSQL_TEST_NDB_PORT)
test
:
test
:
cd
mysql-test
;
\
cd
mysql-test
;
\
./mysql-test-run
$(MYSQL_TEST_RUN_ARGS)
&&
\
./mysql-test-run
&&
\
./mysql-test-run
$(MYSQL_TEST_RUN_ARGS)
--ps-protocol
./mysql-test-run
--ps-protocol
test-force
:
test-force
:
cd
mysql-test
;
\
cd
mysql-test
;
\
./mysql-test-run
$(MYSQL_TEST_RUN_ARGS)
--force
;
\
./mysql-test-run
--force
;
\
./mysql-test-run
$(MYSQL_TEST_RUN_ARGS)
--ps-protocol
--force
./mysql-test-run
--ps-protocol
--force
# We are testing a new Perl version of the test script
test-pl
:
test-pl
:
cd
mysql-test
;
\
cd
mysql-test
;
\
./mysql-test-run.pl
$(MYSQL_TEST_RUN_ARGS)
&&
\
./mysql-test-run.pl
&&
\
./mysql-test-run.pl
$(MYSQL_TEST_RUN_ARGS)
--ps-protocol
./mysql-test-run.pl
--ps-protocol
test-force-pl
:
test-force-pl
:
cd
mysql-test
;
\
cd
mysql-test
;
\
./mysql-test-run.pl
$(MYSQL_TEST_RUN_ARGS)
--force
;
\
./mysql-test-run.pl
--force
;
\
./mysql-test-run.pl
$(MYSQL_TEST_RUN_ARGS)
--ps-protocol
--force
./mysql-test-run.pl
--ps-protocol
--force
# Don't update the files from bitkeeper
# Don't update the files from bitkeeper
%
::
SCCS/s.%
%
::
SCCS/s.%
mysql-test/mysql-test-run.sh
View file @
e4408aec
...
@@ -216,6 +216,25 @@ NDBCLUSTER_PORT=9350
...
@@ -216,6 +216,25 @@ NDBCLUSTER_PORT=9350
MYSQL_MANAGER_PW_FILE
=
$MYSQL_TEST_DIR
/var/tmp/manager.pwd
MYSQL_MANAGER_PW_FILE
=
$MYSQL_TEST_DIR
/var/tmp/manager.pwd
MYSQL_MANAGER_LOG
=
$MYSQL_TEST_DIR
/var/log/manager.log
MYSQL_MANAGER_LOG
=
$MYSQL_TEST_DIR
/var/log/manager.log
MYSQL_MANAGER_USER
=
root
MYSQL_MANAGER_USER
=
root
#
# To make it easier for different devs to work on the same host,
# an environment variable can be used to control all ports. A small
# number is to be used, 0 - 16 or similar.
#
if
[
-n
"
$MTR_BUILD_THREAD
"
]
;
then
MASTER_MYPORT
=
`
expr
$MTR_BUILD_THREAD
'*'
40 + 8120
`
MYSQL_MANAGER_PORT
=
`
expr
$MASTER_MYPORT
+ 2
`
SLAVE_MYPORT
=
`
expr
$MASTER_MYPORT
+ 16
`
NDBCLUSTER_PORT
=
`
expr
$MASTER_MYPORT
+ 24
`
echo
"Using MTR_BUILD_THREAD =
$MTR_BUILD_THREAD
"
echo
"Using MASTER_MYPORT =
$MASTER_MYPORT
"
echo
"Using MYSQL_MANAGER_PORT =
$MYSQL_MANAGER_PORT
"
echo
"Using SLAVE_MYPORT =
$SLAVE_MYPORT
"
echo
"Using NDBCLUSTER_PORT =
$NDBCLUSTER_PORT
"
fi
NO_SLAVE
=
0
NO_SLAVE
=
0
USER_TEST
=
USER_TEST
=
FAILED_CASES
=
FAILED_CASES
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment