diff options
author | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-07 21:51:27 +0000 |
---|---|---|
committer | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-07 21:51:27 +0000 |
commit | 1506d8b85059a4becf0dde9f1292bf95d97c356e (patch) | |
tree | 7964814b573a9fc9e8b10e10e114673af3d7b708 /gcc/doc | |
parent | 6e8d55226bd6553e1fd99b582b3398919fd04f3b (diff) | |
download | gcc-1506d8b85059a4becf0dde9f1292bf95d97c356e.tar.gz |
2003-04-07 Janis Johnson <janis187@us.ibm.com>
* doc/sourcebuild.texi (Test Suites): Update description of gcov
tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65350 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/sourcebuild.texi | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi index 65819ffad9f..31896fcf77a 100644 --- a/gcc/doc/sourcebuild.texi +++ b/gcc/doc/sourcebuild.texi @@ -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 |