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

How can we add tests for the Julia side of GAPJulia? #102

Closed
sebasguts opened this issue Oct 30, 2018 · 3 comments
Closed

How can we add tests for the Julia side of GAPJulia? #102

sebasguts opened this issue Oct 30, 2018 · 3 comments
Assignees

Comments

@sebasguts
Copy link
Contributor

I would like to add some tests to the Julia side of GAPJulia. The problem is that we need a path to an appropriate GAP executable to start GAP in Julia. So how can we add a portable test setup on the Julia side? Should we use environment variables?

@sebasguts
Copy link
Contributor Author

@fingolfin
Copy link
Member

Well, how do you locally load LibGAP.jl into Julia? For my use, I have a shells script in LibGAP.jl, which starts julia and asks it to execute code like this:

include("src/initialization.jl")
libgap.run_it("/path/to/gap")

So you could do something similar (and also in Travis), just add third command which runs the tests (e.g. by executing test/runtests.jl to follow the Pkg.jl conventions). That script could be generated by a ./configure script (we run ./configure GAPPATH for JuliaInterface and JuliaExperimental when building on Travis anyway, might as well add LibGAP.jl).

@sebasguts
Copy link
Contributor Author

Thanks for that suggestion, that is what we will do: Let the script be generated by the configure script!

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

No branches or pull requests

2 participants