]> git.ozlabs.org Git - ccan/blobdiff - tools/gen_deps.sh
take: add labels when CCAN_TAKE_DEBUG set, return in taken_any().
[ccan] / tools / gen_deps.sh
index 19cd3d631960d6b12a3fbf0a9d43ffde0321e077..d20fb8eee72661a85e47d005a1e2423924c1a277 100755 (executable)
@@ -14,14 +14,10 @@ test_srcs=`ls $path/test/*.[ch] 2>/dev/null | tr '\n' ' '`
 module_objs=`ls $path/*.c 2>/dev/null | sed 's/.c$/.o/g' | tr '\n' ' '`
 
 # ... and on the modules this test uses having passed their tests
-deps=$(echo `$path/info testdepends` `$path/info depends` | tr ' ' '\n' | \
+deps=$(echo `$path/info depends` | tr ' ' '\n' | \
        sort | uniq | sed -e 's/$/\/.ok/g' -e '/^\/.ok$/d' | tr '\n' ' ')
 
 # Print the test targets and target aliases
 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"
+echo "$path/.fast-ok: \$(${module}_ok_deps:%.ok=%.fast-ok)"