tests: Make valgrind more exacting

This commit is contained in:
Solomon Peachy 2021-02-23 07:38:35 -05:00
parent d8c4f6d717
commit 227914a0fe
2 changed files with 4 additions and 1 deletions

View File

@ -99,6 +99,9 @@ CPPFLAGS += $(shell pkg-config $(PKG_CONFIG_EXTRA) --cflags libusb-1.0)
CPPFLAGS += $(OLD_URI) -DCORRTABLE_PATH=\"$(BACKEND_DATA_DIR)\"
LIBLDFLAGS = -g -shared
# Debugging
#CFLAGS += -fsanitize=address
# List of backends
BACKENDS = canonselphy canonselphyneo dnpds40 hiti kodak605 kodak1400 kodak6800 magicard mitsu70x mitsu9550 mitsud90 mitsup95d shinkos1245 shinkos2145 shinkos6145 shinkos6245 sonyupd sonyupdneo

View File

@ -120,7 +120,7 @@ if ($proc_count > 1 && $kid > 0) {
if ($quiet) {
unshift(@args,"-q");
}
unshift(@args,"valgrind", "--track-origins=yes");
unshift(@args,"valgrind", "--track-origins=yes", "--leak-check=full");
}
if (!$quiet) {
print join(":", @args) . "\n";