my $serial = read_serial($serial_file);
my $orig_serial = $serial;
my %tags;
+my $rv = 0;
my %intended_duplicate_tags;
if (open(my $fh, "<", "$basedir/intended-duplicates")) {
}
write_file("$basedir/list", $list);
-exit 0;
+exit $rv;
sub process
{
}
if (exists $tags{$tag} and not exists $intended_duplicate_tags{$tag}) {
print STDERR "WARNING: Duplicate tag $tag at $tags{$tag}->{file}:$tags{$tag}->{line} and $file:$lineno\n";
+ $rv = 1;
}
if ($tag >= $serial) {
print STDERR "WARNING: next-number $serial inconsistent with tag $tag at $file:$lineno, adjusting\n";
+ $rv = 1;
$serial = $tag + 1;
}
$tags{$tag} = { file => $file, line => $lineno, msg => $oneline };
* Windows build
* clang-on-Linux build
* Use containers for non-Ubuntu-based Linux testing
-* sanity checks for use of APLOGNO() - empty arguments, accidental duplicates, etc.
- - not sure how exactly
* Known test failures
- "apt-get install" timeout/fails - workaround by moving apt install to before_script phase?