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

Re: [tor-dev] Stem Integ tests for Tor



> Hello!
> As part of the Stem Integ tests, nickm suggested integrating
> gcov into Stem. I did not get that part. Gcov is for code
> coverage of C/C++ source code. We could integrate it to Stem,
> but then it would involve executing command line statements
> on a gcov installed machine.

Hi Ashish. If the process of integrating gcov is to compile it with
tor then that's certainly an option. The steps would be...

1. Do it on your local system so you're familiar with the steps involved.
2. Open a ticket and work with weasel (the person administering our
jenkins instance) with specific instructions and work with him to get
it set up for our automated test runs.

> Also, we could add similar code coverage tool for Stem itself.

Certainly. Coverage is a nice tool that can produce html output. We
ran it over stem a while back to get some notion of our code
coverage...

https://trac.torproject.org/7821

But it would be nice if runTests.py had a '--coverage' argument that
used the coverage tool (if available) to include this report. Filed a
ticket for this...

https://trac.torproject.org/8806

Cheers! -Damian
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev