Skip to content
Snippets Groups Projects
Commit a15313b1 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'more-warnings'


d6c6fd82 testDirectory: Rename functions to fix -Wreserved-identifier warnings

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !270
parents 6c92b9b0 d6c6fd82
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -138,6 +138,5 @@ static int _copyDirectoryTest()
int testDirectory(int, char* [])
{
return _doLongPathTest() + _nonExistentDirectoryTest() +
_copyDirectoryTest();
return doLongPathTest() + nonExistentDirectoryTest() + copyDirectoryTest();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment