-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Diffs when running testbugfix.g without certain packages available #2809
Comments
I don't see this diff, because I run it with anupq being present in the system. The warning that you see above is displayed when one tries to call
If you want to adapt bugfix test to run in your setup, please submit a PR to add to |
Thanks @alex-konovalov, to solve my problem I would have to do this against every However, I'm concerned that this behaviour is a bug. I think that
If we look at
This is really weird! I can't interpret this in a way that is sensible. Why should the |
By the way, the default |
By the way @alex-konovalov, I think the appropriate function is |
@wilfwilson thanks, please feel free to adjust documentation for info levels, and try |
|
I am sure that we do not want zero as default for |
Regarding the test using |
As to the code involving
Don't get me wrong, I am not saying that this is great behaviour or clear or anything, just trying to explain why it does what it does. That said, I still wish GAP would show more helpful errors when |
Thanks for the detailed explanation @fingolfin. After thinking about it a bit more I realised why it makes sense for such tests to exist in GAP itself. As for more helpful |
@wilfwilson with PR #2810 merged, is this issue resolved now? If not, could you briefly summarize what problems are left? Thanks! |
Unfortunately I missed one, which I have made a PR for on #2848. Once that is merged, this issue is resolved. |
This test previously produced diffs if the ctbllib package was not available to be loaded. This commit avoids this problem by first checking whether the package is available. Fixes gap-system#2809
This test previously produced diffs if the ctbllib package was not available to be loaded. This commit avoids this problem by first checking whether the package is available. Fixes #2809
This test previously produced diffs if the ctbllib package was not available to be loaded. This commit avoids this problem by first checking whether the package is available. Fixes gap-system#2809
I was considering running
tst/testbugfix.g
in the Semigroups CI setup, as an extra check that Semigroups doesn't break things in GAP. But I can't be bothered installing all the necessary packages that some of the tests use. However, if I don't do so, I get diffs:Observed behaviour
For example (GAP master):
My understanding of the intention behind the line
if LoadPackage("anupq",false) <> fail then
is that is the package is installed, then run the following test, and if it is not installed, then don't do anything at all (in particular, no warnings). Instead, it prints some info statements.Expected behaviour
GAP should not print such info statements when running tests.
The text was updated successfully, but these errors were encountered: