Skip to content

Commit 67b66ff

Browse files
committed
overlaycheck: Fail on documentation errors
Signed-off-by: Phil Elwell <[email protected]>
1 parent 53f7816 commit 67b66ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

overlaycheck/overlaycheck

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ foreach my $overlay (@$common)
180180
($r) = compare_sets($r, $ignore_vestigial->{$overlay});
181181
list_print("$overlay undocumented parameters", $l);
182182
list_print("$overlay vestigial parameter documentation", $r);
183+
184+
$fail ||= (@$l || @$r);
183185
}
184186

185187
# Parse the Makefile

0 commit comments

Comments
 (0)