From 050720f3ad14b2a8bf523cc46099698f3ea5455d Mon Sep 17 00:00:00 2001 From: Tobias Ribizel Date: Thu, 1 Oct 2020 09:01:01 +0200 Subject: CTest: add compute-sanitizer alias for cuda-memcheck --- Source/CTest/cmCTestMemCheckHandler.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v0.12