Browse Source

ccanlint: make sure we stop on failure of compulsory test.

Rusty Russell 15 years ago
parent
commit
4d10049d84
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/ccanlint/ccanlint.c

+ 1 - 1
tools/ccanlint/ccanlint.c

@@ -185,7 +185,7 @@ static bool run_test(struct ccanlint *i,
 			d->dependent->skip_fail = true;
 		}
 	}
-	return good;
+	return !bad;
 }
 
 static void register_test(struct list_head *h, struct ccanlint *test, ...)