From cf4e2150325ebab7798c23110d80ff52467b4fc7 Mon Sep 17 00:00:00 2001 From: David Gibson Date: Mon, 12 Nov 2012 18:14:26 +1100 Subject: [PATCH] rfc822: Update rfc822 module to use testdepends Several modules were only listed as dependencies because they were used in the testcases. That in turn gave some bogus incompatible license warnings which we partially suppressed from _info. Now that ccanlint supports testdepends, use that to clean it up. Signed-off-by: David Gibson --- ccan/rfc822/_info | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/ccan/rfc822/_info b/ccan/rfc822/_info index 3eea31ed..17ad934f 100644 --- a/ccan/rfc822/_info +++ b/ccan/rfc822/_info @@ -33,9 +33,6 @@ * * License: LGPL (v2.1 or any later version) * - * Ccanlint: - * // The failtest module is only used for tests: ccanlint is overzealous - * license_depends_compat FAIL */ int main(int argc, char *argv[]) { @@ -44,15 +41,19 @@ int main(int argc, char *argv[]) return 1; if (strcmp(argv[1], "depends") == 0) { - printf("ccan/array_size\n"); printf("ccan/talloc\n"); printf("ccan/list\n"); - printf("ccan/foreach\n"); - printf("ccan/failtest\n"); printf("ccan/str\n"); printf("ccan/bytestring\n"); return 0; } + if (strcmp(argv[1], "testdepends") == 0) { + printf("ccan/failtest\n"); + printf("ccan/foreach\n"); + printf("ccan/array_size\n"); + return 0; + } + return 1; } -- 2.39.2