CTest: add compute-sanitizer alias for cuda-memcheck

This commit is contained in:
Tobias Ribizel 2020-10-01 09:01:01 +02:00
parent 47b569a858
commit 050720f3ad
No known key found for this signature in database
GPG Key ID: CEAFBE6D1C2DB92D

View File

@ -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;