From: Stephen Anderson Date: 2008-05-08T09:10:49+09:00 Subject: Re: Is rcov stable? (was Re: rcov segmentation faults Phillip Gawlowski wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > A: Because it makes it difficult to follow the conversation. > Q: Why is top posting bad? Thanks for the pointer, and thank you for taking the time to respond. > What do RCov's tests say? Do they segfault, too? Good point. I'm trying to run them, but am encountering problems. First I was hitting "WIN32 has been removed, use CURRENT instead". Now I'm running into missing the /Library/Ruby/Gems/1.8/gems/rcov-0.8.1.2.0/test/expected_coverage directory. Is it common for gems installed with "sudo gem install " to not be installed in a way that allows running their tests? Am I overlooking something? > Have you tried a simple app, with only a handful of tests, that doesn't > use Rails? > > Are the slices virtual machines? Are you sure that the VM engine used > (Xen, Virtuozzo, whatever) doesn't introduce artifacts that result in > segfaults? The slices use Xen. This is a good point. I'm also wondering about the rather low memory on the slices. > Are you aware that RCov only runs your tests and shows you, > approximately, which parts of the code get exercised by your tests? This is what confuses and concerns me. I have yet to see any of these errors when not running rcov. > And shouldn't you run coverage on, say, development / build machines, as > doing that in production is rather pointless? Those slices aren't production. I was hoping to keep a history of test results and test coverage visible from anywhere, and not limited to when a particular developer happens to be running their laptop. > What version of RCov are you using? A 'gem install'ed one, or one > installed via apt-get? gem installed. rcov 0.8.1.2 2007-11-22 I tried the apt-get installed rcov, and have tried the previous version, both apt-get installed, as well as gem installed. > - -- > Phillip Gawlowski > Twitter: twitter.com/cynicalryan > Blog: http://justarubyist.blogspot.com > > ~ - You know you've been hacking too long when... > ...you count empty bottles (two at a time) like this: > "2, 4, 8, 16, 32, .... 32?!?" > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.8 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkgiPt8ACgkQbtAgaoJTgL8/EgCfYIoG8JA58mtAXr/SG2bkcBWR > Y9oAoKT1ADcMDeWuBXFBivT+WlvTW7Re > =ftWm > -----END PGP SIGNATURE----- -- Posted via http://www.ruby-forum.com/.