Browse Source

tests: Make valgrind more exacting

master
Solomon Peachy 2 years ago
parent
commit
227914a0fe
  1. 3
      Makefile
  2. 2
      regression.pl

3
Makefile

@ -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

2
regression.pl

@ -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";

Loading…
Cancel
Save