mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 17:35:36 +00:00
cmd/gogio: improve the UX of the e2e tests
First, add a headless boolean flag that defaults to true. That way, one can run 'go test -headless=false' to, for example, see how Chrome runs the webassembly endtoend test. Second, skip the Chrome test if the browser isn't installed. While at it, run 'gofmt -s' on the package. Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
This commit is contained in:
+4
-4
@@ -220,22 +220,22 @@ type arch struct {
|
||||
}
|
||||
|
||||
var allArchs = map[string]arch{
|
||||
"arm": arch{
|
||||
"arm": {
|
||||
iosArch: "armv7",
|
||||
jniArch: "armeabi-v7a",
|
||||
clangArch: "armv7a-linux-androideabi",
|
||||
},
|
||||
"arm64": arch{
|
||||
"arm64": {
|
||||
iosArch: "arm64",
|
||||
jniArch: "arm64-v8a",
|
||||
clangArch: "aarch64-linux-android",
|
||||
},
|
||||
"386": arch{
|
||||
"386": {
|
||||
iosArch: "i386",
|
||||
jniArch: "x86",
|
||||
clangArch: "i686-linux-android",
|
||||
},
|
||||
"amd64": arch{
|
||||
"amd64": {
|
||||
iosArch: "x86_64",
|
||||
jniArch: "x86_64",
|
||||
clangArch: "x86_64-linux-android",
|
||||
|
||||
Reference in New Issue
Block a user