Hi,
On Tue, Jul 31, 2012 at 02:30:16PM -0400, [email protected] wrote:
> Date: Tue, 31 Jul 2012 11:30:14 -0700 (PDT)
> From: festner <[email protected]>
> Subject: [CMake] Valgrind does not find tests
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
>
> Hello,
>
> I have a basic Nighly script which runs our basic test and works fine. Now I
> addapted this CTest script to run the same test with MemoryCheck (Valgrind)
> but nothing is working. And I am a lidel bit lost, becouse of the -VV shows
> my :
> / "MemCheck command: /usr/bin/valgrind meteo_reading_no_int
> meteo_reading_no_int meteo_reading_no_int meteo_reading_no_int
> meteo_reading_no_int meteo_reading_no_int meteo_reading_no_int"/
>
> meteo_reading_no_int is the test excecutable name.
That's very obviously a problem of the test config yielding an improper
target-name-only result rather than a FQPN to the target-built under-test
binary.
AFAIR I complained about the same thing once (search for previous
posts), and at that time it turned out to be a matter of using
a wrong (outdated) signature (variant) of a certain CTest setup function.
> SET(CTEST_BUILD_NAME "Linux_Standart_Valgrind")
"Standard", *pretty please* ;)
> #set cMake command to be used
> SET(CTEST_CMAKE_COMMAND "\"${CMAKE_EXECUTABLE_NAME}\"")
Hmm, does this really need specific manual extra escaped quoting? Just
asking...
HTH,
Andreas Mohr
--
GNU/Linux. It's not the software that's free, it's you.
--
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://www.cmake.org/mailman/listinfo/cmake