From dcafa78b96084216e32b757be62b7fa8aebbdd87 Mon Sep 17 00:00:00 2001 From: Dmitry Safonov Date: Tue, 24 Apr 2018 19:50:03 +0100 Subject: [PATCH] test/make: Include .d files Include deps files to recompile tests when dependency has changed. Cc: Cyrill Gorcunov Reported-by: Andrei Vagin Signed-off-by: Dmitry Safonov Signed-off-by: Andrei Vagin --- test/zdtm/lib/Makefile | 1 + test/zdtm/static/Makefile | 2 ++ test/zdtm/transition/Makefile | 1 + 3 files changed, 4 insertions(+) diff --git a/test/zdtm/lib/Makefile b/test/zdtm/lib/Makefile index d2d9f1cc3..d0a667862 100644 --- a/test/zdtm/lib/Makefile +++ b/test/zdtm/lib/Makefile @@ -16,6 +16,7 @@ LDLIBS := $(LIB) TARGETS := $(LIB) $(BIN) include ../Makefile.inc +include $(DEP) all: $(TARGETS) .PHONY: all diff --git a/test/zdtm/static/Makefile b/test/zdtm/static/Makefile index 244b70706..ee74b47c9 100644 --- a/test/zdtm/static/Makefile +++ b/test/zdtm/static/Makefile @@ -376,6 +376,8 @@ OUT = $(TST:%=%.out) STATE = $(TST_STATE:%=%.state) STATE_OUT = $(TST_STATE:%=%.out) +include $(DEP) + all: $(TST) criu-rtc.so install: all .PHONY: all install diff --git a/test/zdtm/transition/Makefile b/test/zdtm/transition/Makefile index f482a8a09..c64e4289d 100644 --- a/test/zdtm/transition/Makefile +++ b/test/zdtm/transition/Makefile @@ -38,6 +38,7 @@ PID = $(TST:%=%.pid) OUT = $(TST:%=%.out) include ../Makefile.inc +include $(DEP) all: $(TST) install: all