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

Pkg.test("Gtk") error #120

Closed
daniel-perry opened this issue Sep 17, 2014 · 3 comments
Closed

Pkg.test("Gtk") error #120

daniel-perry opened this issue Sep 17, 2014 · 3 comments

Comments

@daniel-perry
Copy link
Contributor

If I run Pkg.test("Gtk") I get the following:

julia> Pkg.test("Gtk")
INFO: No packages to install, update or remove
ERROR: Gtk did not provide a test/runtests.jl file
in error at error.jl:21
in test at pkg/entry.jl:711
in anonymous at pkg/dir.jl:28
in cd at ./file.jl:20
in cd at pkg/dir.jl:28
in test at pkg.jl:67

however if I manually run include("Gtk/test/tests.jl") , tests seem to run and everything checks out.

I wonder if it would be worth renaming Gtk/test/tests.jl to Gtk/test/runtests.jl so that people can just run Pkg.test("Gtk") to test the package?

I'd be happy to do it (seems simple enough), but since I'm new to Gtk.jl (and fairly new to Julia in general), I wasn't sure if there was some other reason it hadn't been done...

@vtjnash
Copy link
Contributor

vtjnash commented Sep 18, 2014

there's no reason, other than that this test file predated Pkg.test by at least a year (and I wasn't aware of how the new function worked)

@maxruby
Copy link

maxruby commented Sep 18, 2014

I saw the same errors with Pkg.test("Gtk") in the Julia the console as @cbecker and @daniel-perry (I am using OSX Mavericks). However, I was able to run the scripts in the tests.jl file manually.

My problem is now with using Quartz-based Gtk, which I will file as a separate issue.

daniel-perry added a commit to daniel-perry/Gtk.jl that referenced this issue Sep 18, 2014
timholy added a commit that referenced this issue Sep 23, 2014
Added runtests.jl file to address #120
@timholy
Copy link
Member

timholy commented Sep 23, 2014

Closed by #122

@timholy timholy closed this as completed Sep 23, 2014
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

4 participants