summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-02 12:35:00 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-10-02 12:35:06 (GMT)
commit038b7575615b985ebe3834723c8895a8c14904b3 (patch)
tree56580431e1bb31b7ac560fe8d9a59c11e03fab79
parent0e2ffa93dd2021ef19d8430f51051bf12984fd1e (diff)
parent050720f3ad14b2a8bf523cc46099698f3ea5455d (diff)
downloadCMake-038b7575615b985ebe3834723c8895a8c14904b3.zip
CMake-038b7575615b985ebe3834723c8895a8c14904b3.tar.gz
CMake-038b7575615b985ebe3834723c8895a8c14904b3.tar.bz2
Merge topic 'ctest-memcheck-compute-sanitizer'
050720f3ad CTest: add compute-sanitizer alias for cuda-memcheck Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5305
-rw-r--r--Source/CTest/cmCTestMemCheckHandler.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestMemCheckHandler.cxx b/Source/CTest/cmCTestMemCheckHandler.cxx
index 8b31e4b..73bf764 100644
--- a/Source/CTest/cmCTestMemCheckHandler.cxx
+++ b/Source/CTest/cmCTestMemCheckHandler.cxx
@@ -468,7 +468,8 @@ bool cmCTestMemCheckHandler::InitializeMemoryChecking()
this->MemoryTesterStyle = cmCTestMemCheckHandler::PURIFY;
} else if (testerName.find("BC") != std::string::npos) {
this->MemoryTesterStyle = cmCTestMemCheckHandler::BOUNDS_CHECKER;
- } else if (testerName.find("cuda-memcheck") != std::string::npos) {
+ } else if (testerName.find("cuda-memcheck") != std::string::npos ||
+ testerName.find("compute-sanitizer") != std::string::npos) {
this->MemoryTesterStyle = cmCTestMemCheckHandler::CUDA_MEMCHECK;
} else {
this->MemoryTesterStyle = cmCTestMemCheckHandler::UNKNOWN;