diff options
-rw-r--r-- | Tests/CTestTestResourceLock/lockFile.c | 2 | ||||
-rw-r--r-- | Tests/CTestTestResourceLock/test.cmake.in | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/Tests/CTestTestResourceLock/lockFile.c b/Tests/CTestTestResourceLock/lockFile.c index f8edc3f..a6a4dc0 100644 --- a/Tests/CTestTestResourceLock/lockFile.c +++ b/Tests/CTestTestResourceLock/lockFile.c @@ -1,7 +1,7 @@ #include <stdio.h> /* Disable deprecation warning for fopen */ -#define _CRT_SECURE_NO_WARNINGS +#pragma warning(disable: 4996) /*if run serially, works fine. If run in parallel, someone will attempt to delete diff --git a/Tests/CTestTestResourceLock/test.cmake.in b/Tests/CTestTestResourceLock/test.cmake.in index e58ae20..0f353b8 100644 --- a/Tests/CTestTestResourceLock/test.cmake.in +++ b/Tests/CTestTestResourceLock/test.cmake.in @@ -16,8 +16,6 @@ SET(CTEST_MEMORYCHECK_COMMAND_OPTIONS "@MEMORYCHECK_COMMAND_OPTIONS@") SET(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@") SET(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}") -CTEST_EMPTY_BINARY_DIRECTORY(${CTEST_BINARY_DIRECTORY}) - CTEST_START(Experimental) CTEST_CONFIGURE(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res) CTEST_BUILD(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res) |