diff options
author | Tobias Ribizel <ribizel@kit.edu> | 2020-10-01 07:01:01 (GMT) |
---|---|---|
committer | Tobias Ribizel <ribizel@kit.edu> | 2020-10-01 07:01:01 (GMT) |
commit | 050720f3ad14b2a8bf523cc46099698f3ea5455d (patch) | |
tree | b9c1aa790e203232f99bd0d07f3731e2d8ba5ebd /Source/CTest | |
parent | 47b569a85852f716b05ede538e9940392407316c (diff) | |
download | CMake-050720f3ad14b2a8bf523cc46099698f3ea5455d.zip CMake-050720f3ad14b2a8bf523cc46099698f3ea5455d.tar.gz CMake-050720f3ad14b2a8bf523cc46099698f3ea5455d.tar.bz2 |
CTest: add compute-sanitizer alias for cuda-memcheck
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestMemCheckHandler.cxx | 3 |
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; |