Daniel Martí cea8dc374b cmd/gogio: add the first end-to-end X11 test
Right now it's very similar to the JS test on Chrome. Like it, this one
just runs the "red.go" gio app, takes a screenshot, and expects to see
red.

It also supports the -headless flag; when true, Xvfb is used and it's
entirely headless and hidden. Otherwise, Xephyr is used and once can see
the test in action. If the tool isn't installed, the test is skipped.

We need to add xgb as a dependency, so that we can connect to the X
server and interact with it, like taking screenshots.

Finally, this is an initial version, and a number of TODOs are left for
a later time. They'll get fixed in follow-up patches.

While at it, start making all tests parallel, since the end-to-end tests
take about a second each and neither are very cpu-intensive.

Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
2019-10-29 20:01:52 +01:00
2019-10-29 14:08:38 +01:00
2019-10-23 10:18:11 +02:00
2019-10-14 23:10:35 +02:00
2019-10-23 10:53:59 +02:00
2019-10-14 23:18:49 +02:00
2019-10-12 14:04:34 +02:00
2019-03-31 10:47:22 +02:00
2019-10-12 14:36:25 +02:00
2019-10-12 14:36:25 +02:00

Gio

Immediate mode GUI programs in Go. See gioui.org for details and documentation.

builds.sr.ht status

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 and patches to the mailing list. No Sourcehut account is required and you can post without being subscribed.

See the contribution guide for more details.

License

Dual-licensed under UNLICENSE or the MIT.

S
Description
No description provided
Readme Multiple Licenses 6.2 MiB
Languages
Go 89.6%
C 7%
Java 1.7%
Objective-C 1.6%