summaryrefslogtreecommitdiffstats
path: root/testSystemTools.cxx
diff options
context:
space:
mode:
authorKWSys Upstream <kwrobot@kitware.com>2017-05-16 15:38:28 (GMT)
committerBrad King <brad.king@kitware.com>2017-05-16 15:39:00 (GMT)
commit7be70ca6cc888df532d2f1560e74d13642730ee5 (patch)
tree2867838cfed035918c1de0556ac0b2b08ddef340 /testSystemTools.cxx
parent2dec4695b7711126832f61f5e86cc3120cb419d4 (diff)
downloadCMake-7be70ca6cc888df532d2f1560e74d13642730ee5.zip
CMake-7be70ca6cc888df532d2f1560e74d13642730ee5.tar.gz
CMake-7be70ca6cc888df532d2f1560e74d13642730ee5.tar.bz2
KWSys 2017-05-16 (fe1f22ce)
Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit fe1f22ceefdae18df33e5bab8483fec7a82d4cee (master). Upstream Shortlog ----------------- Adam Weisi (3): 8a799e36 Process: Improve definition ordering in header file 7d56ef24 Process: Save results from all children internally b7eba998 Process: Add APIs to get results of individual processes Ben Boeckel (2): cea71543 style: remove separator comments 874dc559 style: help clang-format near macros
Diffstat (limited to 'testSystemTools.cxx')
-rw-r--r--testSystemTools.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/testSystemTools.cxx b/testSystemTools.cxx
index d11bcae..900894c 100644
--- a/testSystemTools.cxx
+++ b/testSystemTools.cxx
@@ -35,7 +35,6 @@
typedef unsigned short mode_t;
#endif
-//----------------------------------------------------------------------------
static const char* toUnixPaths[][2] = {
{ "/usr/local/bin/passwd", "/usr/local/bin/passwd" },
{ "/usr/lo cal/bin/pa sswd", "/usr/lo cal/bin/pa sswd" },
@@ -67,7 +66,6 @@ static bool CheckConvertToUnixSlashes(std::string input, std::string output)
return true;
}
-//----------------------------------------------------------------------------
static const char* checkEscapeChars[][4] = { { "1 foo 2 bar 2", "12", "\\",
"\\1 foo \\2 bar \\2" },
{ " {} ", "{}", "#", " #{#} " },
@@ -86,7 +84,6 @@ static bool CheckEscapeChars(std::string input, const char* chars_to_escape,
return true;
}
-//----------------------------------------------------------------------------
static bool CheckFileOperations()
{
bool res = true;
@@ -469,7 +466,6 @@ static bool CheckFileOperations()
return res;
}
-//----------------------------------------------------------------------------
static bool CheckStringOperations()
{
bool res = true;
@@ -613,8 +609,6 @@ static bool CheckStringOperations()
return res;
}
-//----------------------------------------------------------------------------
-
static bool CheckPutEnv(const std::string& env, const char* name,
const char* value)
{
@@ -842,7 +836,6 @@ static bool CheckGetLineFromStream()
return ret;
}
-//----------------------------------------------------------------------------
int testSystemTools(int, char* [])
{
bool res = true;