Re: [Cppunit-devel] Bug(?) in cppunit-1.8.0
Brought to you by:
blep
From: Baptiste L. <gai...@fr...> - 2002-08-02 06:37:24
|
The QtTestRunner don't get compiled automatically. The makefile.am is only there to insure that it is distrubed in the tar ball. You need to manually run the 'build' script in the src/qttestrunner directory. Baptiste. ----- Original Message ----- From: "Carlo Wood" <ca...@al...> To: <cpp...@li...> Sent: Wednesday, July 31, 2002 4:20 PM Subject: [Cppunit-devel] Bug(?) in cppunit-1.8.0 > Hum, I get this when I try to use QtUi::TestRunner: > > ~/c++/libecc/testsuite>g++ -I ../include test.cc -lcppunit > /tmp/ccVXRRWI.o: In function `main': > /tmp/ccVXRRWI.o(.text+0xe): undefined reference to `CppUnit::QtUi::TestRunner::TestRunner(void)' > /tmp/ccVXRRWI.o(.text+0x2d): undefined reference to `CppUnit::QtUi::TestRunner::addTest(CppUnit::Test *)' > /tmp/ccVXRRWI.o(.text+0x42): undefined reference to `CppUnit::QtUi::TestRunner::run(bool)' > /tmp/ccVXRRWI.o(.text+0x53): undefined reference to `CppUnit::QtUi::TestRunner::~TestRunner(void)' > /tmp/ccVXRRWI.o(.text+0x6e): undefined reference to `CppUnit::QtUi::TestRunner::~TestRunner(void)' > collect2: ld returned 1 exit status > > And indeed > > /usr/src/cppunit-1.8.0/src/qttestrunner/ > > was never compiled, the Makefile.am says: > > SUBDIRS = cppunit > > qttestrunner is missing? > Are you testing it? Does it work at all? > > -- > Carlo Wood <ca...@al...> > > > ------------------------------------------------------- > This sf.net email is sponsored by: Dice - The leading online job board > for high-tech professionals. Search and apply for tech jobs today! > http://seeker.dice.com/seeker.epl?rel_code=31 > _______________________________________________ > Cppunit-devel mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppunit-devel > |