Some packages contain tests that require a connection to X Windows. Those tests may be run in stand-alone build environments under ad-hoc xinit. However, there is currently no way to notify the build of the status returned by the client script, as it usually happens. I suggest adding an option to xinit to exit using the return code of the client. Example syntax: { xinit -rc /usr/bin/make test; } Exit code: the exit code of the client application if the server can be started, otherwise a failure code.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/app/xinit/issues/5.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.