Skip to content

Commit

Permalink
Workaround for GAP 4.12 test failure due to new GAPDoc version
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored and james-d-mitchell committed Mar 8, 2024
1 parent ebcaf4a commit 055f34b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ci/run-gap-testinstall.g
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
Read(Filename(DirectoriesLibrary("tst"), "testinstall.g"));
# Using GAPDoc 1.6.7 with GAP version before 4.13.0 causes a (harmless) failure
# in a test file, which we work around by just deleting the offending
# test file.
if not CompareVersionNumbers(ReplacedString(GAPInfo.Version, "dev", ""), "4.13") and
CompareVersionNumbers(PackageInfo("GAPDoc")[1].Version, "1.6.7") then
RemoveFile(Filename(DirectoriesLibrary("tst"), "testinstall/package.tst"));
fi;
Read(Filename(DirectoriesLibrary("tst"), "testinstall.g"));

0 comments on commit 055f34b

Please sign in to comment.