summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorTobias Ribizel <tribizel@nvidia.com>2022-10-06 20:21:39 (GMT)
committerBrad King <brad.king@kitware.com>2022-10-07 15:36:12 (GMT)
commit59fcbba65ed5c31d275dceed0952ccaf57113cbb (patch)
tree7a5e2a6794c705d845eea8cd1f8e4c15e358a5b6 /Tests
parent2133cf2c8e575bfff000041505208e28bcdfd4a3 (diff)
downloadCMake-59fcbba65ed5c31d275dceed0952ccaf57113cbb.zip
CMake-59fcbba65ed5c31d275dceed0952ccaf57113cbb.tar.gz
CMake-59fcbba65ed5c31d275dceed0952ccaf57113cbb.tar.bz2
ctest_memcheck: ignore false-positives in CUDA's compute-sanitizer
Add a list of false-positive messages from CUDA's compute-sanitizer to the CTest memcheck. Fixes: #24001
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/ctest_memcheck/testCudaSanitizer.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/ctest_memcheck/testCudaSanitizer.cmake b/Tests/RunCMake/ctest_memcheck/testCudaSanitizer.cmake
index adc7a1a..850f72c 100644
--- a/Tests/RunCMake/ctest_memcheck/testCudaSanitizer.cmake
+++ b/Tests/RunCMake/ctest_memcheck/testCudaSanitizer.cmake
@@ -277,3 +277,12 @@ file(APPEND "${LOG_FILE}"
=========
========= RACECHECK SUMMARY: 12 hazards displayed (0 errors, 12 warnings)
")
+
+# false-positives
+file(APPEND "${LOG_FILE}"
+"========= COMPUTE-SANITIZER
+========= Error: Target application terminated before first instrumented API call
+========= Tracking kernels launched by child processes requires the --target-processes all option.
+========= Error: No attachable process found. compute-sanitizer timed-out.
+========= Default timeout can be adjusted with --launch-timeout. Awaiting target completion.
+")