X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fgen_deps.sh;h=d20fb8eee72661a85e47d005a1e2423924c1a277;hp=19cd3d631960d6b12a3fbf0a9d43ffde0321e077;hb=86380f797c32d7c878e6c008da44714ce3bc5ab2;hpb=61f58ff94e35c9b8ac5488554e2554bc5c9888b3 diff --git a/tools/gen_deps.sh b/tools/gen_deps.sh index 19cd3d63..d20fb8ee 100755 --- a/tools/gen_deps.sh +++ b/tools/gen_deps.sh @@ -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)"