-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
let
LoadPackage
collect data (#5772)
* let `LoadPackage` collect data - add a new component `LoadInfo` to the `record` argument of `PackageAvailabilityInfo`, with value a record that essentially collects the information that is up to now printed via `InfoPackageLoading` messages - describe the format of the data in the description of `PackageAvailabilityInfo` - support a global option `LoadInfo` in `LoadPackage`, which sets the given value as the `LoadInfo` component of the `record` argument of `PackageAvailabilityInfo`; this way, one can analyse programmatically why a `LoadPackage` was not sucessful - add tests - fix a check whether the prescribed GAP version fits: Up to now, the `"equal"` variant of `CompareVersionNumbers` was not called in one situation; this is interesting mainly for tests, thus it was not really a problem This feature is currently experimental. Once it gets documented, the right way to do this will be to document `PackageAvailabilityInfo` in the Reference Manual. * do not show the current version in messages (Otherwise we would have to rewrite the tests, since these version numbers will change over the time.) * make HPCGAP happy ... (I think it is strange that the entries of `GAPInfo.PackagesInfo` are immutable in HPCGAP but mutable in ordinary GAP.) * added a small evaluation function to the tests in order to show how one can use the new feature
- Loading branch information
1 parent
e6a9da1
commit 4be218f
Showing
3 changed files
with
355 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.