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

make tests work without GTK #165

Merged
merged 1 commit into from
Feb 2, 2015
Merged

make tests work without GTK #165

merged 1 commit into from
Feb 2, 2015

Conversation

bnagy
Copy link

@bnagy bnagy commented Jan 30, 2015

Turns out there wasn't much to do. I skipped a step in the test logic when there's no erasure storage and added a build tag so you can build the abstract gui without trying to build gtk. Added a new flag nogtk, stubbed out the GTKUI interface so the mains don't need to be modified.

bens-MacBook-Pro:client ben$ go test -tags nogtk
PASS
ok      github.com/bnagy/pond/client    46.853s

@agl agl merged commit f6bd0d0 into agl:master Feb 2, 2015
@agl
Copy link
Owner

agl commented Feb 2, 2015

Thanks!

@burdges
Copy link
Contributor

burdges commented Mar 17, 2015

I'm curious why nogtk is added as a separate build tag, and file, rather than adding this under the existing nogui tag? Just more convenient for the android effort organize by @grugq ? Thanks.

@bnagy
Copy link
Author

bnagy commented Mar 18, 2015

Because I still wanted the abstract GUI to build, so I could run the rest of the tests unmodified.

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 this pull request may close these issues.

None yet

3 participants