summaryrefslogtreecommitdiffstats
path: root/testSystemTools.cxx
diff options
context:
space:
mode:
authorKWSys Robot <kwrobot@kitware.com>2014-08-07 13:55:30 (GMT)
committerBrad King <brad.king@kitware.com>2014-08-11 13:30:16 (GMT)
commitfe587db415b1cf728f42c5db55c3acbad7a9a529 (patch)
tree79cf4a96ddcd25c67b4c7036dfdc1e98a0b9e238 /testSystemTools.cxx
parent158c6d1cffe863fde284d4e5eeeb8129d40ce0e9 (diff)
downloadCMake-fe587db415b1cf728f42c5db55c3acbad7a9a529.zip
CMake-fe587db415b1cf728f42c5db55c3acbad7a9a529.tar.gz
CMake-fe587db415b1cf728f42c5db55c3acbad7a9a529.tar.bz2
KWSys 2014-08-07 (4d526097)
Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 4d526097 | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' e787837a..4d526097 Brad King (2): 4791701a SystemTools: Remove ConvertWindowsCommandLineToUnixArguments method 4d526097 Add assert() to quiet Clang scan-build warnings Change-Id: I15e4ad710a8ad01f96761a89f2c1517f3c2aa835
Diffstat (limited to 'testSystemTools.cxx')
-rw-r--r--testSystemTools.cxx22
1 files changed, 0 insertions, 22 deletions
diff --git a/testSystemTools.cxx b/testSystemTools.cxx
index 15123eb..04ab4fc 100644
--- a/testSystemTools.cxx
+++ b/testSystemTools.cxx
@@ -507,28 +507,6 @@ static bool CheckStringOperations()
res = false;
}
- int targc;
- char **targv;
- kwsys::SystemTools::ConvertWindowsCommandLineToUnixArguments
- ("\"Local Mojo\\Voodoo.asp\" -CastHex \"D:\\My Secret Mojo\\Voodoo.mp3\"",
- &targc, &targv);
- if (targc != 4 || strcmp(targv[1],"Local Mojo\\Voodoo.asp") ||
- strcmp(targv[2],"-CastHex") ||
- strcmp(targv[3],"D:\\My Secret Mojo\\Voodoo.mp3"))
- {
- kwsys_ios::cerr
- << "Problem with ConvertWindowsCommandLineToUnixArguments"
- << "\'\"Local Mojo\\Voodoo.asp\" "
- << "-CastHex \"D:\\My Secret Mojo\\Voodoo.mp3\"\'"
- << kwsys_ios::endl;
- res = false;
- }
- for (;targc >=0; --targc)
- {
- delete [] targv[targc];
- }
- delete [] targv;
-
return res;
}