[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #15344 [Tor]: Integrate tests into automake test suite
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs