[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #16792 [Tor]: Have a way to mark lines as "unreachable by unit tests"
#16792: Have a way to mark lines as "unreachable by unit tests"
-----------------------------+--------------------------------
Reporter: nickm | Owner: nickm
Type: enhancement | Status: accepted
Priority: normal | Milestone: Tor: 0.2.8.x-final
Component: Tor | Version:
Resolution: | Keywords: SponsorS, testing
Actual Points: | Parent ID:
Points: |
-----------------------------+--------------------------------
Comment (by tdruiva):
> I don't see the point in using macros here; they don't seem any cleaner
than LCOV stuff, right?
Yeah, you're right.
Other point about these lcov exclude markers, we can use in a macro style
instead of comment, like
#define LCOV_EXCL_START
#define LCOV_EXCL_STOP
LCOV_EXCL_START
code
.
.
.
LCOV_EXCL_STOP
> (I wonder if any other coverage tools have macros like this that they
would expect us to use, and whether we're about to be littered with
them...)
I'll keep looking
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16792#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs