X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fdepends_build.c;h=e6300a19502559fc3a69effa3e6b6218cae75c2b;hb=199023653cd6020218fbc4d0712591fc7ee0c5e1;hp=e7faa1f1503ed8632c02534ab3ca34d4aa86218a;hpb=441a3cb13e428cfa4973d83acb68e231a7cd4cf4;p=ccan diff --git a/tools/ccanlint/tests/depends_build.c b/tools/ccanlint/tests/depends_build.c index e7faa1f1..e6300a19 100644 --- a/tools/ccanlint/tests/depends_build.c +++ b/tools/ccanlint/tests/depends_build.c @@ -13,7 +13,7 @@ #include #include #include -#include "../compulsory_tests/build.h" +#include "build.h" static const char *can_build(struct manifest *m) { @@ -38,7 +38,7 @@ static char *build_subdir_objs(struct manifest *m, char *fullfile = talloc_asprintf(m, "%s/%s", m->dir, i->name); char *output; - i->compiled[ctype] = maybe_temp_file(m, "", false, fullfile); + i->compiled[ctype] = temp_file(m, "", fullfile); if (!compile_object(m, fullfile, ccan_dir, compiler, flags, i->compiled[ctype], &output)) { talloc_free(i->compiled[ctype]); @@ -70,14 +70,13 @@ char *build_submodule(struct manifest *m, const char *flags, if (errstr) return errstr; - m->compiled[ctype] = build_module(m, false, ctype, &errstr); + m->compiled[ctype] = build_module(m, ctype, &errstr); if (!m->compiled[ctype]) return errstr; return NULL; } static void check_depends_built(struct manifest *m, - bool keep, unsigned int *timeleft, struct score *score) { struct manifest *i;