diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-05-15 14:58:46 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-05-23 12:48:51 -0400 |
commit | 07ccffa989a8c6ac6ac216b6e729daed14372620 (patch) | |
tree | abb284e2642c59e465667b2100a70a2c64f22ac9 /src/test/include.am | |
parent | b88281024579d5f207d15d1a2cc54c113f8a2bde (diff) | |
download | tor-07ccffa989a8c6ac6ac216b6e729daed14372620.tar.gz tor-07ccffa989a8c6ac6ac216b6e729daed14372620.zip |
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 (limited to 'src/test/include.am')
-rw-r--r-- | src/test/include.am | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/include.am b/src/test/include.am index 824089bc47..85f9c9f880 100644 --- 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 \ |