tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 07ccffa989a8c6ac6ac216b6e729daed14372620
parent b88281024579d5f207d15d1a2cc54c113f8a2bde
Author: Nick Mathewson <nickm@torproject.org>
Date:   Wed, 15 May 2019 14:58:46 -0400

Coverage: do not include test-rebind in coverage builds.

Because it invokes the Tor mainloop, it does unpredictable things to
test coverage of a lot of code that it doesn't actually test at
all.  (It is more an integration test than anything else.)

Diffstat:
Msrc/test/include.am | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/test/include.am b/src/test/include.am @@ -32,8 +32,15 @@ endif if USEPYTHON TESTSCRIPTS += src/test/test_ntor.sh src/test/test_hs_ntor.sh src/test/test_bt.sh + +if COVERAGE_ENABLED +# ... +else +# Only do this when coverage is not on, since it invokes lots of code +# in a kind of unpredictable way. TESTSCRIPTS += src/test/test_rebind.sh endif +endif TESTS += src/test/test src/test/test-slow src/test/test-memwipe \ src/test/test_workqueue \