[tor-bugs] #28668 [Core Tor/Tor]: If a Tor unit test causes a BUG log, it should fail

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Nov 30 01:59:49 UTC 2018


#28668: If a Tor unit test causes a BUG log, it should fail
------------------------------+--------------------------------
     Reporter:  teor          |      Owner:  (none)
         Type:  enhancement   |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.4.0.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  technical-debt
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 In #28660, a successful unit test logged a BUG warning, but the test still
 succeeded.

 We should make tests fail by default if they log a BUG() or LD_BUG
 warning, but allow some tests to expect bug warnings.

 I thought we made this change, or had a ticket for this change, but I
 couldn't find it.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28668>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list