Skip to content

Commit

Permalink
fixes not related to my changed (make the tests pass)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBreuer committed Sep 12, 2024
1 parent b6a75b4 commit b147909
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion gap/compile.gi
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ function(dir)
if exec = fail or exec.code <> 0 or PositionSublist(exec.output, "Failed to build") <> fail then
Info(InfoPackageManager, 1, "Compilation failed for package '", info.PackageName, "'");
Info(InfoPackageManager, 1, "(package may still be usable)");
PKGMAN_InfoWithIndent(2, exec.output, 2);
if exec <> fail then
PKGMAN_InfoWithIndent(2, exec.output, 2);
fi;
return false;
else
PKGMAN_InfoWithIndent(3, exec.output, 2);
Expand Down
2 changes: 1 addition & 1 deletion tst/compile.tst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ false

# Try to compile something that's not there at all
gap> CompilePackage("madeUpPackage");
#I Package "madeuppackage" not installed in user package directory
#I Package "madeUpPackage" not installed in user package directory
false

# Check package can be recompiled and removed
Expand Down

0 comments on commit b147909

Please sign in to comment.