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
75263427
Commit
75263427
authored
Mar 01, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
README:
Revise mysql-test README. mysql-test/README: Revise mysql-test README.
parent
a73b7dc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
mysql-test/README
mysql-test/README
+15
-3
No files found.
mysql-test/README
View file @
75263427
This directory contains a test suite for mysql daemon. To run
This directory contains a test suite for mysql daemon. To run
the currently existing test cases, simply execute ./mysql-test-run in
the currently existing test cases, simply execute ./mysql-test-run in
this directory. It will fire up the newly built mysqld and test it.
this directory. It will fire up the newly built mysqld and test it.
If you want to run a test with a running MySQL server use the --extern
option to mysql-test-run. Please note that in this mode the test suite
expects user to specify test names to run. Otherwise it falls back to the
normal "non-extern" behaviour. The reason is that some tests
could not run with external server. Here is the sample command
to test "alias" and "analyze" tests on external server:
mysql-test-run --extern alias analyze
To match your setup you might also need to provide --socket, --user and
other relevant options.
Note that you do not have to have to do make install, and you could
Note that you do not have to have to do make install, and you could
actually have a co-existing MySQL installation - the tests will not
actually have a co-existing MySQL installation - the tests will not
conflict with it.
conflict with it.
...
@@ -8,13 +21,12 @@ conflict with it.
...
@@ -8,13 +21,12 @@ conflict with it.
All tests must pass. If one or more of them fail on your system, please
All tests must pass. If one or more of them fail on your system, please
read the following manual section of how to report the problem:
read the following manual section of how to report the problem:
http://dev.mysql.com/doc/mysql/en/
MySQL_test_
suite.html
http://dev.mysql.com/doc/mysql/en/
mysql-test-
suite.html
You can create your own test cases. To create a test case:
You can create your own test cases. To create a test case:
cd t
xemacs t/test_case_name.test
vi test_case_name.test
in the file, put a set of SQL commands that will create some tables,
in the file, put a set of SQL commands that will create some tables,
load test data, run some queries to manipulate it.
load test data, run some queries to manipulate it.
...
...
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