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

Re: [tor-dev] Testing in Tor



On Thu, Dec 20, 2012 at 12:31 PM,  <meejah@xxxxxxxxx> 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
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev