Am Freitag, 17. Mai 2013 um 20:34:45, schrieb Kornel Benko <kor...@lyx.org>
> Am Freitag, 17. Mai 2013 um 19:59:14, schrieb Rolf Eike Beer <e...@sf-mail.de>
> > Kornel Benko wrote:
> > > Calling ctest after the last commit
> > > 5e993a2822e48c5d84b5bf01aad52ff5068cb5ea. The output is:
> > > ...
> > >         Start 298: CMake.GetPrerequisites
> > > 298/299 Test #298: CMake.GetPrerequisites ...........................  
> > > Passed    0.67 sec Start 299: CMake.CheckSourceTree
> > > 299/299 Test #299: CMake.CheckSourceTree ............................  
> > > Passed    0.08 sec
> > > 
> > > 99% tests passed, 4 tests failed out of 299
> > > 
> > > Label Time Summary:
> > > Label1    =   0.06 sec
> > > Label2    =   0.06 sec
> > > 
> > > Total Test time (real) = 757.62 sec
> > > 
> > > The following tests FAILED:
> > >         258 - CTestTestMemcheckDummyPurify (Failed)
> > >         259 - CTestTestMemcheckDummyValgrind (Failed)
> > >         264 - CTestTestMemcheckDummyValgrindPrePost (Failed)
> > >         267 - CTestTestMemcheckDummyValgrindIgnoreMemcheck (Failed)
> > > Errors while running CTest
> > > ###########################################
> > > 
> > > This is on ubuntu 12.04, 64 bit.
> > > Should I send more info?
> > 
> > This error happens because the way these tests are configured is different 
> > from how they were before. Previously they had their source in the source 
> > dir, 
> > and their build in the build dir. But since the CMakeLists.txt and similar 
> > files of all these tests were nearly identical this has changed. Now the 
> > source tree is in the build dir and this tests do an in-source build there.
> > 
> > You have used the same build dir before, and it still points to the (now 
> > gone) 
> > source location in the source tree. So just wipe the directories of these 
> > subtests (i.e. the stuff in 
> > /usr/BUILD/BuildCmakeGit/Tests/CTestTestMemcheck) 
> > and rerun these tests, they should work then.
> > 
> > Eike
> 
> I tried, but now even more tests are failing. I will try on really clean 
> build tree.
> 

On a clean rebuild all tests pass now. Thanks.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to