The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=13844 ====================================================================== Reported By: Ingmar Voigt Assigned To: ====================================================================== Project: CMake Issue ID: 13844 Category: CTest Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2013-01-10 07:29 EST Last Modified: 2013-01-10 07:29 EST ====================================================================== Summary: PurifyPlus 7.0.1-003 cannot properly interpret SAVETEXTDATA command line switch due to quotation marks Description: PROBLEM: ----------------------------
This started with PurifyPlus 7.0.1-003 - PurifyPlus 7.0.0 did not show such behaviour. The solution should however work for both CTest 2.8.3 memchecker produces on Windows the following command line to execute Purify (extracted from my logs): C:\Progra~1\IBM\RationalPurifyPlus\purify.exe "/SAVETEXTDATA=D:/MyBinDir/Testing/Temporary/MemoryChecker.log" "D:/MyBinDir/bin/Debug/MyTest.exe" When executing this Purify 7.0.1-003 complains the following way: Unable to find file /SAVETEXTDATA=D:/MyBinDir/Testing/Temporary/MemoryChecker.log. The reason is the command line /SAVETEXTDATA=... is wrapped in quotation marks "/SAVETEXTDATA=D:/MyBinFolder/Testing/Temporary/MemoryChecker.log" the problem does not occur when changing the command line by shift the quotation mark after the equal sign: /SAVETEXTDATA="D:/MyBinFolder/Testing/Temporary/MemoryChecker.log" SOLUTION: ---------------------------- use /SAVETEXTDATA="D:/MyBinFolder/Testing/Temporary/MemoryChecker.log" instead of "/SAVETEXTDATA=D:/MyBinFolder/Testing/Temporary/MemoryChecker.log" i.e. C:\Progra~1\IBM\RationalPurifyPlus\purify.exe /SAVETEXTDATA="D:/MyBinFolder/Testing/Temporary/MemoryChecker.log" "D:/MyBinFolder/bin/Debug/MyTest.exe" Steps to Reproduce: Execute PurifyPlus 7.0.1-003 C:\Progra~1\IBM\RationalPurifyPlus\purify.exe "/SAVETEXTDATA=D:/MyBinFolder/Testing/Temporary/MemoryChecker.log" "D:/MyBinFolder/bin/Debug/MyTest.exe" and try again with C:\Progra~1\IBM\RationalPurifyPlus\purify.exe /SAVETEXTDATA="D:/MyBinFolder/Testing/Temporary/MemoryChecker.log" "D:/MyBinFolder/bin/Debug/MyTest.exe" Additional Information: >From the CTest logs: Memory check command: C:\Progra~1\IBM\RationalPurifyPlus\purify.exe "/SAVETEXTDATA=D:/MyBinDir/Testing/Temporary/MemoryChecker.log" 149: MemCheck command: C:\Progra~1\IBM\RationalPurifyPlus\purify.exe "/SAVETEXTDATA=D:/MyBinDir/Testing/Temporary/MemoryChecker.log" "D:/MyBinDir/bin/Debug/MyTest.exe" ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-01-10 07:29 Ingmar Voigt New Issue ====================================================================== -- 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