Skip to content

Commit

Permalink
CI: detect failure to run make docomp nicely again
Browse files Browse the repository at this point in the history
We have a test for our CI which detects if a PR should have run `make docomp`.
But we did not reach it anymore since some changes to `bin/BuildPackages.sh`
which added code to use GAP to extract the name of any given packages, by
letting GAP print it to stdout and grabbing it from there. But in this
particular failure scenario, GAP also printed a warning, which caused
`BuildPackages.sh` to fail. This patch suppresses that warning.
  • Loading branch information
fingolfin committed Apr 21, 2021
1 parent 83aa6c8 commit 7dcab96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/BuildPackages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ run_configure_and_make() {
then
if grep Autoconf ./configure > /dev/null
then
local PKG_NAME=$($GAP -q -T -A -r <<GAPInput
local PKG_NAME=$($GAP -q -T -A -r -M <<GAPInput
Read("PackageInfo.g");
Print(GAPInfo.PackageInfoCurrent.PackageName);
GAPInput
Expand Down

0 comments on commit 7dcab96

Please sign in to comment.