]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/tests_helpers_compile.c
strsplit: remove nump argument
[ccan] / tools / ccanlint / tests / tests_helpers_compile.c
index 0ad5a7e67cc7847fb9bbc9c568ef403b7752eb7d..67ca8d8ae332f192f568272909befb7ac2281aaa 100644 (file)
@@ -49,12 +49,12 @@ static void do_compile_test_helpers(struct manifest *m,
 
                if (!compile(m, keep, i, &cmdout)) {
                        errors = true;
-                       score->error = "Failed to compile helper C files";
-                       score_file_error(score, i, 0, cmdout);
+                       score_file_error(score, i, 0, "Compile failed:\n%s",
+                                        cmdout);
                } else if (!streq(cmdout, "")) {
                        warnings = true;
-                       score->error = "Helper C files gave warnings";
-                       score_file_error(score, i, 0, cmdout);
+                       score_file_error(score, i, 0,
+                                        "Compile gave warnings:\n%s", cmdout);
                }
        }