forked from joejulian/gio
c2cbcee78de0697d7571db18fc9783b91fa5b440
This way, if the user has a custom winecfg, it can't possibly affect the tests. I was encountering this as DXVK does not work on virtual Xorg servers (which we use), and Gio thus failed to render on such a combination. >From the numbers below, it can be seen that setting up a new WINEPREFIX takes roughly five seconds: $ rm -rf ~/.cache/gio-e2e-wine $ go test -run EndToEnd/Windows PASS ok gioui.org/cmd/gogio 16.369s $ go test -run EndToEnd/Windows PASS ok gioui.org/cmd/gogio 11.810s A repeated run still has a slow "wine winecfg /?", for some reason. Add a TODO since I can see it taking a third of the time on my terminal. I haven't been able to properly investigate why, unfortunately. As far as I can tell, winecfg is just faster when run with a terminal instead of an output buffer. They might use isatty on stdout/stderr. The overall time to run the wine sub-test is increased from ~5s to ~11s, but it's worth it to make it run everywhere. It looks like there is plenty of room as per the TODO above, as winecfg seems to mostly do nothing. We're also not too worried, as all e2e subtests run in parallel. Fixes #106. Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Gio
Immediate mode GUI programs in Go for Android, iOS, macOS, Linux, FreeBSD, OpenBSD, Windows, and WebAssembly (experimental). See the project page gioui.org for documentation and more information.
Issues
File bugs and TODOs through the issue tracker or send an email to ~eliasnaur/gio@todo.sr.ht. For general discussion, use the mailing list: ~eliasnaur/gio@lists.sr.ht.
Contributing
Post discussion to the mailing list and patches to gio-patches. No Sourcehut account is required and you can post without being subscribed.
See the contribution guide for more details.
An unofficial GitHub mirror is kindly maintained by Larry Clapp.
Description
Languages
Go
89.6%
C
7%
Java
1.7%
Objective-C
1.6%