I'm using g++ 4.5.3 on Linux (and also on an older Solaris box, which is kind of the problem).
I've written fairly extensive unit tests using cppunit 1.12.1 inside a project which is ambivalent about them. However, I've hit a problem:
They are slow to compile, even on a fast machine. The fast linux machine compiles the following files in 30 seconds, and the solaris in over 20 minutes. Its seems to get lost in template resolution hell. Is there any way you can think to speed this up? Otherwise the project will do the "sensible" thing and stop compiling the unit tests every build..
using namespace std;
class Unit_tests : public CPPUNIT_NS :: TestFixture
Unit test.cpp is:
void Unit_tests::UnitTest (void)
// Repeat above line 799 times...
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.