summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testDirectory.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-19 14:17:35 (GMT)
committerBrad King <brad.king@kitware.com>2023-01-19 14:17:35 (GMT)
commitdae189fb09b0dabf92c3c4e30ba72896197589c2 (patch)
tree85ae70f268935bef5b582d30bbb7249887497139 /Source/kwsys/testDirectory.cxx
parent35afae59137a31fb8f771469c04043e32a8f330b (diff)
parent4ac17cff4207646f58b473509b73991c94564d7e (diff)
downloadCMake-dae189fb09b0dabf92c3c4e30ba72896197589c2.zip
CMake-dae189fb09b0dabf92c3c4e30ba72896197589c2.tar.gz
CMake-dae189fb09b0dabf92c3c4e30ba72896197589c2.tar.bz2
Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream * upstream-KWSys: KWSys 2023-01-19 (be3c441e)
Diffstat (limited to 'Source/kwsys/testDirectory.cxx')
-rw-r--r--Source/kwsys/testDirectory.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/Source/kwsys/testDirectory.cxx b/Source/kwsys/testDirectory.cxx
index 79bdc98..8c73af2 100644
--- a/Source/kwsys/testDirectory.cxx
+++ b/Source/kwsys/testDirectory.cxx
@@ -19,7 +19,7 @@ file Copyright.txt or https://cmake.org/licensing#kwsys for details. */
#include <testSystemTools.h>
-static int _doLongPathTest()
+static int doLongPathTest()
{
using namespace kwsys;
static const int LONG_PATH_THRESHOLD = 512;
@@ -77,7 +77,7 @@ static int _doLongPathTest()
return res;
}
-static int _nonExistentDirectoryTest()
+static int nonExistentDirectoryTest()
{
using namespace kwsys;
int res = 0;
@@ -105,7 +105,7 @@ static int _nonExistentDirectoryTest()
return res;
}
-static int _copyDirectoryTest()
+static int copyDirectoryTest()
{
using namespace kwsys;
const std::string source(TEST_SYSTEMTOOLS_BINARY_DIR
@@ -136,8 +136,7 @@ static int _copyDirectoryTest()
return 0;
}
-int testDirectory(int, char* [])
+int testDirectory(int, char*[])
{
- return _doLongPathTest() + _nonExistentDirectoryTest() +
- _copyDirectoryTest();
+ return doLongPathTest() + nonExistentDirectoryTest() + copyDirectoryTest();
}