mirror of
https://github.com/dynup/kpatch
synced 2024-12-28 00:02:02 +00:00
tests/unit: fix inconsistent FAIL test failures
Use make's .DELETE_ON_ERROR special target to make sure we don't have any .OUTPUT.o leftovers for failed tests. Fixes: #999 Signed-off-by: Artem Savkov <asavkov@redhat.com>
This commit is contained in:
parent
535e917679
commit
8c6a031cdb
@ -36,6 +36,7 @@ define check_all =
|
||||
$(if $(findstring NOSTRIP,$(1)), , $(call check_stripped,$(1)))
|
||||
endef
|
||||
|
||||
.DELETE_ON_ERROR: %.$(EXT_OUTPUT)
|
||||
|
||||
all: $(TARGETS) $(TEST_TARGETS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user