Re: [PHP-QA] Parallel run-tests

2012-10-14 Thread Nuno Lopes
Hi, Here you have a dump of a run of PHP_HEAD in the gcov machine (almost 13k tests) without valgrind: http://gcov.php.net/~nlopess/dump_PHP_HEAD_z4.txt It was run with -z 4. However, the reported CPU usage is only 213% (instead of ~400%). As you can see in the dump, there are a few BORK'e

Re: [PHP-QA] Tests for new accessors

2012-10-14 Thread Nathan Nobbe
I think it makes perfect sense, Clint, and would love to hear what others have to say. I've often built 'test libraries' or code that is shared among a set of unit tests. No point in duplicating code just because you're writing tests IMO. -nathan On Sun, Oct 14, 2012 at 4:39 AM, Clint Priest w

[PHP-QA] Tests for new accessors

2012-10-14 Thread Clint Priest
Would it be frowned upon to use include(); within a set of tests to include base code against which multiple tests can be run? I've got around 80 tests now and a change to the RFC is going to require probably 100% of them to have some change. In addition, there are variations of the same test