message: ci: For the purpose of memcheck only fail for defects, not test failures.
diff: @@ -493,8 +493,6 @@ if(dashboard_do_memcheck)
  ctest_memcheck(RETURN_VALUE MEMCHECK_RETURN DEFECT_COUNT MEMCHECK_DEFECTS)
  if(NOT (MEMCHECK_DEFECTS EQUAL 0))
  message(SEND_ERROR "ctest memcheck defects found: ${MEMCHECK_DEFECTS}")
  - elseif(NOT (MEMCHECK_RETURN EQUAL 0))
  - message(SEND_ERROR "ctest memcheck return value: ${MEMCHECK_RETURN}")
  endif()
  endif()
  if(dashboard_do_submit)
  