Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 528ffe6

Browse filesBrowse files
committed
memcheck: Force valgrind to follow exec*()
Well damn, the MemCheck has only ever been testing bash, not the test programs. Fixed, and found some leaks. Signed-off-by: Ben Collins <bcollins@libjwt.io>
1 parent 84101b1 commit 528ffe6
Copy full SHA for 528ffe6

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎CMakeLists.txt

Copy file name to clipboardExpand all lines: CMakeLists.txt
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ project(${LIBJWT_PROJECT}
1818
HOMEPAGE_URL ${LIBJWT_HOMEPAGE_URL}
1919
LANGUAGES C)
2020

21+
set(MEMORYCHECK_COMMAND_OPTIONS "-q --tool=memcheck --leak-check=yes --num-callers=50 --trace-children=yes --leak-check=full --track-origins=yes --gen-suppressions=all")
22+
2123
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
2224
add_compile_options(-Wall -Werror -Wextra -Wunused)
2325

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.