Skip to content

Commit

Permalink
show the errors if there are some
Browse files Browse the repository at this point in the history
(Funny. I got exit code 0 locally before this change.)
  • Loading branch information
ThomasBreuer committed Nov 9, 2024
1 parent 9ceb10d commit 51a6ee2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion doc/make_doc.in
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,10 @@ Print(outputstring);
outputstring:= ReplacedString(outputstring, "\c", "");;
errors:= Filtered(SplitString(outputstring, "\n"),
x -> StartsWith(x, "#W ") and x <> "#W There are overfull boxes:");;
QuitGap(Length(errors) = 0);
if Length(errors) = 0 then
QuitGap(true);
else
Print(errors, "\n");
QuitGap(false);
fi;
EOF

0 comments on commit 51a6ee2

Please sign in to comment.