Skip to content
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

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

Open
fingolfin opened this issue Dec 8, 2020 · 0 comments · May be fixed by #584
Open

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

fingolfin opened this issue Dec 8, 2020 · 0 comments · May be fixed by #584

Comments

@fingolfin
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant