mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 01:34:29 +01:00
The automation_args tests polled try_wait every 10 ms and failed when the binary had not exited within 30 seconds, so a slow start on a loaded machine failed a correct build. They now read stdout and stderr until both pipes close, which happens when the binary exits, through the same helper the help tests used, now moved to tests/it/main.rs as exit_output. The helper's deadline only stops a binary that is still running. The tests also remove DISPLAY, WAYLAND_DISPLAY and WAYLAND_SOCKET, as the help tests do, so on Linux a binary that gets past argument parsing exits with a display error that the exact stderr check rejects.