[cfe-dev] Code coverage of llvm, clang, lldb & polly

Lang Hames lhames at gmail.com
Mon Jun 17 10:38:42 PDT 2013


Replying somewhat belatedly,

Given how slowly PBQP runs, and how few people use it, I wasn't keen to add
overhead to the generic test suites for it. I occasionally run a local
tester over it, but that's about the extent of its testing.

One more reason for me to find time to fix it up I guess.

- Lang.

On Fri, May 17, 2013 at 8:27 AM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> This is awesome, thanks!
>
> A problem that is quickly visible is that we have 0 tests for the pbqp
> register allocator :-(
>
> On 17 May 2013 11:09, Sylvestre Ledru <sylvestre at debian.org> wrote:
> > Hello,
> >
> > Plugged in the Jenkins instance used to build Debian & Ubuntu nightly
> > package, I configured a code coverage tool (lcov) with all the tests of
> > these projects.
> > Results are published here:
> > http://buildd-clang.debian.net/coverage/
> >
> > This URL is updated twice a day (it might change since it is taking a
> > long time).
> >
> >
> > For those who would like to have their own setup, with gcc, use the
> > following declaration:
> > CXXFLAGS="-fprofile-arcs -ftest-coverage"  LDFLAGS="-coverage -lgcov"
> >
> > Rebuild everything, launch the tests and run:
> >
> > REPORT=reports/scilab-code-coverage.info
> > BUILD_DIR=reports/
> > mkdir -p $BUILD_DIR
> > lcov --directory $BUILD_DIR --capture --ignore-errors source
> > --output-file $REPORT
> > lcov --remove $REPORT "/usr*" -o $REPORT
> > lcov --remove $REPORT "$BUILD_DIR/*" -o $REPORT
> > genhtml -o reports/coverage --show-details --highlight --legend $REPORT
> >
> > Cheers,
> > Sylvestre
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130617/ca6a042a/attachment.html>


More information about the cfe-dev mailing list