Skip to content
Discussion options

You must be logged in to vote

But when I run this command on the develop branch, some tests fail, p.e.:

FAIL fyne.io/fyne/v2/internal/driver/mobile 3.414s
When I run this test with mobile tag added, it succeeds:

go test -tags mobile ./internal/driver/mobile
What is correct? With or without -tags mobile?

Both :) the tests in mobile package should pass without mobile flag (for sake of avoiding exclusions in path list) and with mobile tag you're testing the Android/iOS build.

After creating a pull request, the CI runs these tests:

go test -race -tags "ci,migrated_fynedo" ./...
go test -race -tags mobile,ci,migrated_fynedo ./...

Yup, the "ci" tag is for items that cannot be run on a headless Linux server.

But feel fre…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MaxGyver83
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants