sourcebuild.texi (Test Suites): Update description of gcov tests.
authorJanis Johnson <janis@gcc.gnu.org>
Mon, 7 Apr 2003 21:51:27 +0000 (21:51 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Mon, 7 Apr 2003 21:51:27 +0000 (21:51 +0000)
2003-04-07  Janis Johnson  <janis187@us.ibm.com>

* doc/sourcebuild.texi (Test Suites): Update description of gcov
tests.

From-SVN: r65350

gcc/doc/sourcebuild.texi

index 65819ffad9fca463b9a416b518a29d247e00d874..31896fcf77ae286a63dbf687f068130be618cfe6 100644 (file)
@@ -979,10 +979,13 @@ and call return percentages.  All of these checks are requested via
 commands that appear in comments in the test's source file.
 Commands to check line counts are processed by default.
 Commands to check branch percentages and call return percentages are
-processed if there is a file with the same basename as the source
-file and a suffix @file{.x} that contains a line
-@code{set gcov_verify_branches 1} or @code{set gcov_verify_calls 1},
-respectively.
+processed if the @command{run-gcov} command has arguments @code{branches}
+or @code{calls}, respectively.  For example, the following specifies
+checking both, as well as passing @code{-b} to @command{gcov}:
+
+@smallexample
+@{ dg-final @{ run-gcov branches calls @{ -b sourcefile @} @} @}
+@end smallexample
 
 A line count command appears within a comment on the source line
 that is expected to get the specified count and has the form