[tor-bugs] #13119 [Tor]: Convert test_* macros to tt_* macros (was: guidance on tt_ptr_op vs test_eq_ptr()?)

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Sep 11 19:55:54 UTC 2014


#13119: Convert test_* macros to tt_* macros
------------------------+--------------------------------
     Reporter:  arma    |      Owner:
         Type:  defect  |     Status:  needs_revision
     Priority:  normal  |  Milestone:  Tor: 0.2.6.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------
Changes (by nickm):

 * status:  new => needs_revision


Comment:

 So, tinytest provides tt_*; the test_* macros are for backward
 compatibility.

 But now that I kinda know spatch, we can just migrate them.

 See branch "ticket13119" in my public repo.  Note that the big patch there
 was produced automatically; the scripts are included.

 The only reason I can think of not to do this would be if we're concerned
 about pending unmerged patches that want to do heavy modifications to the
 legacy tests.

 I'm marking this "needs-revision" since the patch didn't catch every
 instance.  I can investigate why if people think this is worthwhile.

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


More information about the tor-bugs mailing list