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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
6bdd4993
Commit
6bdd4993
authored
Mar 01, 2006
by
paul@snake-hub.snake.net
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
a3797344
32bdb2cc
Changes
1
Show 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 @
6bdd4993
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