[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs