[tor-dev] Testing in Tor

Simon simonhf at gmail.com
Thu Dec 20 21:06:57 UTC 2012


On Thu, Dec 20, 2012 at 12:31 PM,  <meejah at meejah.ca> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> You want to point at your tor binary, I think, not just the path
> (i.e. something like "--tor ../tor-2.3.*/src/or/tor")

That did the trick, thanks:

$ time ./run_tests.py --integ --tor ../tor-0.2.3.25/src/or/tor
...
Shutting down tor... done
21 TESTS WERE SKIPPED
ALL OTHER TESTS PASSED (34 seconds)
real    0m34.456s

Why do the tests take so long to run? I noticed that most of the time
almost no CPU is used and hardly any network is used. Could the
individual tests be somehow run in parallel to speed things up? I
noticed a few time.sleep() calls in the .py files :-(

--
Simon


More information about the tor-dev mailing list