Bug 68822 - please add an option to return the client‘s exit code
Summary: please add an option to return the client‘s exit code
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: App/xinit (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium enhancement
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-01 19:41 UTC by Christopher Yeleighton
Modified: 2018-08-10 20:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Christopher Yeleighton 2013-09-01 19:41:18 UTC
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.
Comment 1 GitLab Migration User 2018-08-10 20:30:38 UTC
-- 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.