aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-07-09 12:37:11 -0400
committerNick Mathewson <nickm@torproject.org>2013-07-10 15:22:16 -0400
commit17e9fc09c31dffdc647385220a14daef5a35273a (patch)
tree66b1a0ccb2e176bc2646a25cdd03fd6eb0d90435 /.gitignore
parenta3e0a87d951b1323ca542c9b115d5525d0d022c9 (diff)
downloadtor-17e9fc09c31dffdc647385220a14daef5a35273a.tar
tor-17e9fc09c31dffdc647385220a14daef5a35273a.tar.gz
Coverage support: build with --enable-coverage to have tests run with gcov
If you pass the --enable-coverage flag on the command line, we build our testing binaries with appropriate options eo enable coverage testing. We also build a "tor-cov" binary that has coverage enabled, for integration tests. On recent OSX versions, test coverage only works with clang, not gcc. So we warn about that. Also add a contrib/coverage script to actually run gcov with the appropriate options to generate useful .gcov files. (Thanks to automake, the .o files will not have the names that gcov expects to find.) Also, remove generated gcda and gcno files on clean.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index bb3817ba5..201d04da6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -152,6 +152,8 @@
/src/or/or_sha1.i
/src/or/tor
/src/or/tor.exe
+/src/or/tor-cov
+/src/or/tor-cov.exe
/src/or/libtor.a
/src/or/libtor-testing.a
/src/or/libtor.lib