Thanks. In our case we made the tests a submode of Nemo, so we can use

Nemo.Test.test_all()

which is not so terrible.

Bill.

On Saturday, 10 October 2015 02:18:46 UTC+2, Yichao Yu wrote:
>
> On Fri, Oct 9, 2015 at 7:43 PM, Bill Hart <goodwi...@googlemail.com 
> <javascript:>> wrote: 
> > I have managed to install our Nemo package system wide, simply by 
> copying 
> > the entire Nemo directory from a working Nemo build to 
> > /usr/share/julia/site/v0.4/Nemo (plus some bug fixes: corrected rpath, 
> > @__FILE__ instead of Pkg.dir()). 
> > 
> > Nemo works just fine, but when I do Pkg.test("Nemo") it says: 
> > 
> > julia> Pkg.test("Nemo") 
> > ERROR: Nemo did not provide a test/runtests.jl file 
> >  in error at ./error.jl:21 
> >  in test at pkg/entry.jl:753 
> >  in anonymous at pkg/dir.jl:31 
> >  in cd at file.jl:22 
> >  in cd at pkg/dir.jl:31 
> >  in test at pkg.jl:71 
> > 
> > Have I missed something, or is this a bug? 
>
> This is a bug and there's an issue for it[1]. 
>
> I usually just run the test directly `julia ..../test/runtests.jl`. 
>
> [1] https://github.com/JuliaLang/julia/issues/8679 
>
> > 
> > Note that I have checked 
> /usr/share/julia/site/v0.4/Nemo/test/runtests.jl 
> > exists. I've also checked it is world readable. 
> > 
> > Bill. 
>

Reply via email to