[dm-devel] [PATCH 1/2] libmultipath tests: delete test-log.d during "make clean"
mwilck at suse.com
mwilck at suse.com
Thu Nov 5 10:20:32 UTC 2020
From: Martin Wilck <mwilck at suse.com>
test-log.d was not cleaned out. Fix it.
Reported-by: Xose Vasquez Perez <xose.vazquez at gmail.com>
Tested-by: Xose Vasquez Perez <xose.vazquez at gmail.com>
Signed-off-by: Martin Wilck <mwilck at suse.com>
---
tests/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/Makefile b/tests/Makefile
index 3bacabd..d26b3ce 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -14,6 +14,7 @@ LIBDEPS += -L$(multipathdir) -L$(mpathcmddir) -lmultipath -lmpathcmd -lcmocka
TESTS := uevent parser util dmevents hwtable blacklist unaligned vpd pgpolicy \
alias directio valid devt
+HELPERS := test-lib.o test-log.o
.SILENT: $(TESTS:%=%.o)
.PRECIOUS: $(TESTS:%=%-test)
@@ -74,7 +75,7 @@ lib/libchecktur.so:
@LD_LIBRARY_PATH=$(multipathdir):$(mpathcmddir) \
valgrind --leak-check=full --error-exitcode=128 ./$< >$@ 2>&1
-OBJS = $(TESTS:%=%.o) test-lib.o
+OBJS = $(TESTS:%=%.o) $(HELPERS)
test_clean:
$(RM) $(TESTS:%=%.out) $(TESTS:%=%.vgr)
--
2.29.0
More information about the dm-devel
mailing list