[cmake-developers] ctest on cmake build
Kornel Benko
kornel at lyx.org
Fri May 17 14:34:45 EDT 2013
Am Freitag, 17. Mai 2013 um 19:59:14, schrieb Rolf Eike Beer <eike at 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.
Kornel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130517/a0b3f393/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130517/a0b3f393/attachment.sig>
More information about the cmake-developers
mailing list