You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
655 B

  1. To be able to see the level of coverage with the current test suite,
  2. do the following:
  3. - Make sure gcov is installed
  4. - Compile the MySQL distribution with BUILD/compile-pentium-gcov (if your
  5. machine does not have a pentium CPU, hack this script, or just live with
  6. the pentium-specific stuff)
  7. - In the mysql-test directory, run this command: ./mysql-test-run -gcov
  8. - To see the level of coverage for a given source file:
  9. grep source_file_name /tmp/gcov.out
  10. - To see which lines are not yet covered, look at source_file_name.gcov in
  11. the source tree. Then think hard about a test case that will cover those
  12. lines, and write one!