[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #22365 [Core Tor/Stem]: test.integ.installation expects cwd to be the top of the stem source tree



#22365: test.integ.installation expects cwd to be the top of the stem source tree
-------------------------------+--------------------
     Reporter:  catalyst       |      Owner:  atagar
         Type:  defect         |     Status:  new
     Priority:  Medium         |  Milestone:
    Component:  Core Tor/Stem  |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:  #22301
       Points:                 |   Reviewer:
      Sponsor:                 |
-------------------------------+--------------------
 Running `run_tests.py` from a current working directory that isn't the top
 of the stem source tree appears to cause `test.integ.installation` to
 fail.  `test.integ.installation` does succeed when run from the top of the
 stem source tree.

 It should work when run from the top of the tor source tree, as required
 by the `make test-stem` rules in tor.  Alternatively, clearly document
 that the tests only work properly when run from the top of the stem source
 tree and adjust the `make test-stem` rules in tor to compensate.  (It
 seems that almost all of the other tests work when run with a working
 directory outside of the stem source tree, so it would be nice if this one
 did as well.)

 {{{
 tlyu@arcadia:~/src/tor$ ../stem/run_tests.py --tor `pwd`/src/or/tor --all
 --log notice --target RUN_ALL --test test.integ.installation
 }}}

 (note that the
 {{{
 --tor `pwd`/src/or/tor`
 }}}
 is needed to work around another issue with relative pathnames)

 {{{
 TESTING FAILED (11 seconds)
   [RUN_NONE] test_sdist (test.integ.installation.TestInstallation) ...
 FAIL
 }}}

 I can provide more complete logs if needed, but it seems like it should be
 easy enough to replicate the failure condition.  (Please let me know if
 you're having trouble replicating it.)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22365>
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