From: David Gibson Date: Tue, 22 Nov 2016 22:50:48 +0000 (+1100) Subject: Makefile: Remove unused test targets X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=214086cfafb1f5bf7785a29f4497f3adf196ed8b;ds=sidebyside Makefile: Remove unused test targets The Makefile provides for "fast" and "full" variants of make check. However, nothing seems to use or implement the "full" variant at all. Further, the %.check and %.fastcheck targets are not actually used, with other targets instead using the actual .ok tag file as the target. Signed-off-by: David Gibson --- diff --git a/Makefile b/Makefile index c170631e..a9dfed10 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,6 @@ TEST_DEPS := $(MODULES:%=%/.d) check: $(MODULES:%=%/.ok) fastcheck: $(MODULES:%=%/.fast.ok) -fullcheck: $(MODULES:%=%/.full.ok) ifeq ($(strip $(filter clean config.h, $(MAKECMDGOALS))),) -include $(DEPS) $(LINT_DEPS) $(TOOLS_DEPS) $(TEST_DEPS) diff --git a/tools/gen_deps.sh b/tools/gen_deps.sh index 19cd3d63..e38dffab 100755 --- a/tools/gen_deps.sh +++ b/tools/gen_deps.sh @@ -21,7 +21,3 @@ deps=$(echo `$path/info testdepends` `$path/info depends` | tr ' ' '\n' | \ echo "${module}_ok_deps := $test_srcs $module_objs $deps" echo "$path/.ok: \$(${module}_ok_deps)" echo "$path/.fast.ok: \$(${module}_ok_deps:%.ok=%.fast.ok)" -echo "$path/.full.ok: \$(${module}_ok_deps:%.ok=%.full.ok)" -echo "${module}.check: $path/.ok" -echo "${module}.fastcheck: $path/.fast.ok" -echo "${module}.fullcheck: $path/.full.ok"