[Cppunit-devel] Integrating cppunit in large project
Brought to you by:
blep
From: CppUnit d. m. l. <cpp...@li...> - 2006-08-03 11:52:19
|
Hi all, I have a large (~30000 C++ code under Linux) project and I would like to integrate cppunit into it to test some classes which represent major components of my code. I've seen the money example and in the Makefile.am you seem to have no bin_PROGRAMS, but only check_PROGRAMS. Can't I have both? I was thinking: # Production code: bin_PROGRAMS = ... ..._SOURCES = ... ... # Tests check_PROGRAMS = TestNumber TestHugeStructure TestNumber_SOURCES = ... TestHugeStructure_SOURCES = ... This is because I don't want to mix test and non-testing sources since I want testint to access only the code it is going to test and nothing else. Can I do this? Any recommendation? Cheers, -- Paulo Jorge Matos - pocm at sat inesc-id pt Web: http://sat.inesc-id.pt/~pocm Computer and Software Engineering INESC-ID - SAT Group |