[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #2051 [- Select a component]: Unit tests test_util_spawn_background_* fail when run from make distcheck
#2051: Unit tests test_util_spawn_background_* fail when run from make distcheck
----------------------------------+-----------------------------------------
Reporter: sjmurdoch | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: - Select a component | Version:
Keywords: | Parent:
----------------------------------+-----------------------------------------
Currently the unit tests test_util_spawn_background_* assume that they are
run from the Tor build directory (so as to find test-child). This is not
the case when running make distcheck, so the test will fail. The path to
test-child can be found through dirname(argv![0])/../test-child, but unit
tests don't have access to argv![0]. Therefore one solution is to use
autoconf to find the Tor build directory and base the path on this.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2051>
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