mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 10:46:58 +01:00
unittest: make sure VALGRIND env var set under valgrind.
In particular, `make unittest/bitcoin/test/run-secret_eq_consttime` didn't set VALGRIND if it was set via config.vars, so runs for a *long* time. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
bad0ac6ed6
commit
dda000fe2d
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -20,7 +20,7 @@ BOLTVERSION := da71867c840abe057d7a68f358dd9493e0e79110
|
|||
-include config.vars
|
||||
|
||||
ifneq ($(VALGRIND),0)
|
||||
VG=valgrind -q --error-exitcode=7
|
||||
VG=VALGRIND=1 valgrind -q --error-exitcode=7
|
||||
VG_TEST_ARGS = --track-origins=yes --leak-check=full --show-reachable=yes --errors-for-leak-kinds=all
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue