MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013844 | CMake | CTest | public | 2013-01-10 07:29 | 2016-06-10 14:31 |
Reporter | Ingmar Voigt | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | Windows | OS Version | XP SP1 | |
Product Version | CMake 2.8.3 | ||||
Target Version | Fixed in Version | ||||
Summary | 0013844: 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" | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://public.kitware.com/Bug/file/4625/purify.bat | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-01-10 07:29 | Ingmar Voigt | New Issue | |||
2013-01-24 16:50 | Ingmar Voigt | File Added: purify.bat | |||
2013-01-24 16:52 | Ingmar Voigt | Note Added: 0032163 | |||
2016-06-10 14:28 | Kitware Robot | Note Added: 0042198 | |||
2016-06-10 14:28 | Kitware Robot | Status | new => resolved | ||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|