summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2014-11-26 18:20:03 +0000
committerThomas Wood <thomas.wood@intel.com>2014-12-04 16:07:55 +0000
commitbc6dc7efdb65a6f5ac01cc2c306951dd9dd92fc4 (patch)
tree35639ec5eb7b7726c65307ae648dd37066a771be /docs
parente4e18faffc21cceb1f45c6bbfad9f1ceacdccf05 (diff)
docs: add exit status documentation
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/intel-gpu-tools/igt_test_programs.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/docs/reference/intel-gpu-tools/igt_test_programs.xml b/docs/reference/intel-gpu-tools/igt_test_programs.xml
index 29698942..07285fe7 100644
--- a/docs/reference/intel-gpu-tools/igt_test_programs.xml
+++ b/docs/reference/intel-gpu-tools/igt_test_programs.xml
@@ -57,6 +57,45 @@
</variablelist>
</para>
</refsect1>
+
+ <refsect1>
+ <title>Exit Status</title>
+ <para>
+ The following exit status codes are defined:
+
+ <informaltable pgwide="1" frame="none">
+ <tgroup cols="3" align="left">
+ <thead>
+ <row><entry>Name</entry><entry>Value</entry><entry>Description</entry></row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>#IGT_EXIT_SUCCESS</entry>
+ <entry>0</entry>
+ <entry>The test was succesful</entry>
+ </row>
+ <row>
+ <entry>#IGT_EXIT_SKIP</entry>
+ <entry>77</entry>
+ <entry>The test was skipped</entry>
+ </row>
+ <row>
+ <entry>#IGT_EXIT_TIMEOUT</entry>
+ <entry>78</entry>
+ <entry>The test took longer than expected and was stopped</entry>
+ </row>
+ <row>
+ <entry>#IGT_EXIT_INVALID</entry>
+ <entry>79</entry>
+ <entry>An invalid option or subtest was specified</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+
+ Any other exit status indicates a test failure.
+ </para>
+ </refsect1>
</refentry>
<refentry id="igt-core-tests">