asort: move array_size to testdepends.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 12 Nov 2012 06:37:50 +0000 (17:07 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 12 Nov 2012 06:37:50 +0000 (17:07 +1030)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/asort/_info

index c49f6dde4e247051ce57d8576a62d7feae017def..2d3e66e8621ec2d54a41c8cbe57edec49dc29bc6 100644 (file)
@@ -58,6 +58,9 @@ int main(int argc, char *argv[])
 
        if (strcmp(argv[1], "depends") == 0) {
                printf("ccan/typesafe_cb\n");
 
        if (strcmp(argv[1], "depends") == 0) {
                printf("ccan/typesafe_cb\n");
+               return 0;
+       }
+       if (strcmp(argv[1], "testdepends") == 0) {
                printf("ccan/array_size\n");
                return 0;
        }
                printf("ccan/array_size\n");
                return 0;
        }