[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
valgrind-tests and suppression files
From: |
Marc Nieper-Wißkirchen |
Subject: |
valgrind-tests and suppression files |
Date: |
Sat, 23 May 2020 23:39:46 +0200 |
Is there any built-in support in the valgrind-tests module for
suppression files? For example, if I want to run my tests under
valgrind (if available), I write
LOG_COMPILER = $(VALGRIND)
or, in case I use libtool,
LOG_COMPILER = $(LIBTOOL) --mode=execute $(VALGRIND)
But how to add valgrind suppression files in this context?
LOG_COMPILER = $(VALGRIND) --suppressions=...
is not a good solution because it will fail when VALGRIND is empty
because valgrind-tests couldn't find a valgrind.
What's the canonical solution of this problem?
- valgrind-tests and suppression files,
Marc Nieper-Wißkirchen <=