Skip to content

Commit

Permalink
Make valgrind only be used if the system is linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidtw committed Feb 17, 2022
1 parent 6717f59 commit 55db833
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,14 @@ if not meson.is_subproject()
link_with: libwrpc))
endforeach

add_test_setup('valgrind',
is_default: true,
exe_wrapper: [ 'valgrind',
'--leak-check=full',
'--error-exitcode=1' ],
timeout_multiplier: 2)
if host_machine.system().contains('linux')
add_test_setup('valgrind',
is_default: true,
exe_wrapper: [ 'valgrind',
'--leak-check=full',
'--error-exitcode=1' ],
timeout_multiplier: 2)
endif
endif

################################################################################
Expand Down

0 comments on commit 55db833

Please sign in to comment.