From 2421664fb0d146fd500a0def4368fee9f8f2fdf9 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 7 Jan 2011 22:20:44 +1030 Subject: [PATCH] ccanlint: print keys in output Since test keys are used for --target=, this is useful. --- tools/ccanlint/ccanlint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ccanlint/ccanlint.c b/tools/ccanlint/ccanlint.c index 7515a7c6..6bfc6d15 100644 --- a/tools/ccanlint/ccanlint.c +++ b/tools/ccanlint/ccanlint.c @@ -142,7 +142,7 @@ static bool run_test(struct ccanlint *i, if ((!score->pass && !quiet) || (score->score < score->total && verbose) || verbose > 1) { - printf("%s: %s", i->name, score->pass ? "PASS" : "FAIL"); + printf("%s (%s): %s", i->name, i->key, score->pass ? "PASS" : "FAIL"); if (score->total > 1) printf(" (+%u/%u)", score->score, score->total); printf("\n"); -- 2.39.2