-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Add checking with valgrind #67
Conversation
So
|
Locally, I see the usual |
We get a lot of
|
We can add a suppression file for these |
@@ -1,3 +1,12 @@ | |||
IF(ArborX_TEST_MEMORY) | |||
FIND_PROGRAM(MEMORYCHECK_COMMAND NAMES valgrind) | |||
IF(MEMORYCOMMAND MATCHES "-NOTFOUND") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo. You'd have caught it if you did if(VAR)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also use lowercase for CMake calls for consistency
"Memory checking in tests enabled but could not find the valgrind " | ||
"executable. Please install valgrind.") | ||
ENDIF() | ||
SET(CTEST_MEMORYCHECK_COMMAND "${MEMORYCHECK_COMMAND}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure this variable is needed at all if we do ctest -T MemCheck
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought so, but it seems to run without it as well now.
Documenting:
where
|
Do we want to merge this? |
Closing as no there has been no activity or interest in the past 8 months. Reopen as needed. |
Fixes #64.