Skip to content

Don't install&remove GAP "io" package globally as part of the test suite #574

@fingolfin

Description

@fingolfin

We currently do this in the test suite:

    @test GAP.Packages.install("io", interactive = false)
    @test GAP.Packages.remove("io", interactive = false)

... which is inconvenient as it means that after running the test suite, the IO package is removed...

Better would be to reactivate the commented out variant coming afterwards:

#    pkgdir = mktempdir()
#    @test GAP.Packages.install("io", interactive = false, pkgdir = pkgdir)
#    @test GAP.Packages.remove("io", interactive = false, pkgdir = pkgdir)

I think this fails because the installed package can not be actually loaded; so to "fix" this, one probably needs to add the temporary pkgdir to the list of directories GAP searches for packages, e.g. via ExtendRootDirectories

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions