]> git.ozlabs.org Git - ccan/commitdiff
Makefile: Remove unused test targets
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 22 Nov 2016 22:50:48 +0000 (09:50 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 22 Nov 2016 22:50:48 +0000 (09:50 +1100)
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 <david@gibson.dropbear.id.au>
Makefile
tools/gen_deps.sh

index c170631eb14a485ba8eec225e123e2b28e644b2e..a9dfed10f03844bc0c86e029b823a12373df4a8d 100644 (file)
--- 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)
index 19cd3d631960d6b12a3fbf0a9d43ffde0321e077..e38dffab022cae2fc5f6ddf683f34adf1c69aa08 100755 (executable)
@@ -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"