diff options
author | Masatake YAMATO <jet@gyve.org> | 2005-04-10 06:19:31 +0000 |
---|---|---|
committer | Masatake YAMATO <jet@gyve.org> | 2005-04-10 06:19:31 +0000 |
commit | 442ae53a5750e5ab5e1bb3fc75f0f39499d7bf77 (patch) | |
tree | 35bb32aa405ff50c5f387a804da273b09d5d61d1 /etc/compilation.txt | |
parent | f450e918a01fe95f931744c0204c875f5e0242d6 (diff) | |
download | emacs-442ae53a5750e5ab5e1bb3fc75f0f39499d7bf77.tar.gz |
* compilation.txt (symbol): Added gcov-file
gcov-bb-file gcov-never-called-line gcov-called-line .
* progmodes/compile.el (compilation-error-regexp-alist-alist): Add
regexp for gcov.
Diffstat (limited to 'etc/compilation.txt')
-rw-r--r-- | etc/compilation.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/etc/compilation.txt b/etc/compilation.txt index c1a20ad3025..42e62af9dff 100644 --- a/etc/compilation.txt +++ b/etc/compilation.txt @@ -341,6 +341,32 @@ strcmp: variable # of args. llib-lc(359) :: /usr/src/foo/foo.c(8) bloofle defined( /users/wolfgang/foo.c(4) ), but never used +* GCOV (test coverage program) + +symbol: gcov-file gcov-bb-file gcov-never-called-line gcov-called-line + + -: 0:Source:foo.c + -: 0:Object:foo.bb + -: 1:/* $ gcc -fprofile-arcs -ftest-coverage foo.c + -: 2: $ ./a.out + -: 3: $ gcov foo.c + -: 4: LANG=C gcov foo.c + -: 5: 62.50% of 8 lines executed in file foo.c + -: 6: Creating foo.c.gcov.*/ + -: 7:int + -: 8:main(int argc, char ** argv) + 1: 9:{ + 1: 10: int r; + 1: 11: if (argc == 1) + 1: 12: r = 1; + #####: 13: else if (argc == 2) + #####: 14: r = 2; + -: 15: else + #####: 16: r = 0; + 1: 17: return r; + -: 18:} + + * Directory tracking Directories are matched via `compilation-directory-matcher'. Files which are |