Test for CVS plugin

Andreas Pakulat apaku at gmx.de
Sun Apr 15 18:38:46 UTC 2007


On 15.04.07 20:18:47, Andreas Pakulat wrote:
> On 15.04.07 10:00:01, Matt Rogers wrote:
> > On Saturday 14 April 2007 17:32, Robert Gruber wrote:
> > > BTW: When I issue "make test" in kdevelop's builddir, it tells me this:
> > > Test project /home/kdedev/src/kdevelop/builddir
> > >   1/  5 Testing kdevcvs-test                     Passed
> > >   2/  5 Testing qmake-parsetest               Unable to find executable:
> > > /qmake-parsetest 3/  5 Testing qmake-assignmenttest          Unable to find
> > > executable: /qmake-assignmenttest 4/  5 Testing qmake-functionscopetest    
> > >   Unable to find executable: /qmake-functionscopetest 5/  5 Testing
> > > qmake-scopetest               Unable to find executable: /qmake-scopetest
> > >
> > > 20% tests passed, 4 tests failed out of 5
> > >
> > >
> > > Are the qmake test broken, or do I have to call anything else than "make
> > > test" to run them?
> > 
> > I don't know about the qmake tests. Maybe Andreas can tell you more.
> 
> Well, I'm not sure how this is supposed to work now with CMake 2.4.5 (or
> newer). Certainly doing add_test()+add_executable is not the "right" way
> anymore to add tests. I'm not sure yet which is, going to ask on
> kde-devel if IRC doesn't turn up anything.

Turns out this is a bug in CMake (according to Thiago), make test
doesn't build the tests, so you have to run make <testname> first.
I'll take this to the cmake guys.

Andreas

-- 
Today is the last day of your life so far.




More information about the KDevelop-devel mailing list