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

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Mar 20 13:42:47 UTC 2015


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

Comment (by cypherpunks):

 For documentation purposes, `@abs_top_srcdir@` is used deliberately in
 `test_ntor.sh.in` and `test_bt.sh.in` because autoconf ignores the non-
 recursive nature of Tor. Variable substitutions of relative paths are
 computed from the directory the substituted files are located in, but
 tests are executed from the build directory root.
 For example, with `test_ntor.sh` the `top_srcdir` variable would result in
 `../../src/test`. When executed from the build directory root it is
 obvious that this relative path won't find the files it is looking for.
 Therefore we use absolute paths.

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


More information about the tor-bugs mailing list