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
0b09fa04
Commit
0b09fa04
authored
Mar 01, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge snake-hub.snake.net:/src/extern/MySQL/bk/mysql-4.1-r1.2478
into snake-hub.snake.net:/src/extern/MySQL/bk/mysql-5.0
parents
8d7f8929
5b9669cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
mysql-test/README.gcov
mysql-test/README.gcov
+9
-7
No files found.
mysql-test/README.gcov
View file @
0b09fa04
To be able to see the level of coverage with the current test suite,
To be able to see the level of coverage with the current test suite,
do the following:
do the following:
- make sure gcov is installed
- Make sure gcov is installed
- compile with BUILD/compile-pentium-gcov ( if your machine is not pentium, hack
- Compile the MySQL distribution with BUILD/compile-pentium-gcov (if your
this script, or just live with the pentium-specific stuff)
machine does not have a pentium CPU, hack this script, or just live with
- ./mysql-test-run -gcov
the pentium-specific stuff)
- to see the level of coverage for a given source file:
- In the mysql-test directory, run this command: ./mysql-test-run -gcov
- To see the level of coverage for a given source file:
grep source_file_name /tmp/gcov.out
grep source_file_name /tmp/gcov.out
- to see which lines are not yet covered, look at source_file_name.gcov in the source tree. Then think hard about a test case that will cover those
- To see which lines are not yet covered, look at source_file_name.gcov in
lines, and write one!
the source tree. Then think hard about a test case that will cover those
lines, and write one!
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