]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/compulsory_tests/compile_test_helpers.c
ccanlint: use familiar names for temporary files, show them with -vv.
[ccan] / tools / ccanlint / compulsory_tests / compile_test_helpers.c
index ac29aa3cd2799ed55bb24281fc0414b89df8815e..207c0b2d346378bbdf0a79b9755484e1df18f524 100644 (file)
@@ -25,8 +25,9 @@ static char *compile(struct manifest *m,
                     bool keep,
                     struct ccan_file *cfile)
 {
-       cfile->compiled = maybe_temp_file(m, "", keep, cfile->fullname);
-       return compile_object(m, cfile->fullname, ccan_dir, cfile->compiled);
+       cfile->compiled = maybe_temp_file(m, ".o", keep, cfile->fullname);
+       return compile_object(m, cfile->fullname, ccan_dir, "",
+                             cfile->compiled);
 }
 
 static void *do_compile_test_helpers(struct manifest *m,