[tor-bugs] #15344 [Tor]: Integrate tests into automake test suite

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Mar 18 08:43:33 UTC 2015


#15344: Integrate tests into automake test suite
-----------------------------+------------------------------
     Reporter:  cypherpunks  |      Owner:  cypherpunks
         Type:  enhancement  |     Status:  assigned
     Priority:  minor        |  Milestone:  Tor: unspecified
    Component:  Tor          |    Version:  Tor: unspecified
   Resolution:               |   Keywords:  testing
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+------------------------------
Changes (by cypherpunks):

 * status:  new => assigned
 * owner:   => cypherpunks


Comment:

 Is it expected behavior that the backtrace test does not communicate its
 failure?
 {{{
 #!python
 for I in range(len(LINES)):
     if matches(LINES[I:], FUNCNAMES):
         print("OK")
         break
 else:
     print("BAD")
 }}}
 The snippet above from `bt_test.py` only prints `OK` or `BAD` but does not
 change its exit code so the make rule where it is called never fails.

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


More information about the tor-bugs mailing list