diff options
author | Thomas Wood <thomas.wood@intel.com> | 2014-07-23 16:29:39 +0100 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2014-07-23 16:43:05 +0100 |
commit | 784344ef8896e47af13fbb4377b020f33ce4c93c (patch) | |
tree | 135235b3e8087011641b9e2a33da21f1589d3e10 /lib/igt_core.h | |
parent | 561d519e67f31c81d338601ce859d32188c4bd7b (diff) |
lib: add an exit code to use when invalid options are specified
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'lib/igt_core.h')
-rw-r--r-- | lib/igt_core.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/igt_core.h b/lib/igt_core.h index b19a897e..0e84e980 100644 --- a/lib/igt_core.h +++ b/lib/igt_core.h @@ -59,6 +59,13 @@ */ #define IGT_EXIT_SUCCESS 0 +/** + * IGT_EXIT_INVALID + * + * Exit status indicating an invalid option or subtest was specified + */ +#define IGT_EXIT_INVALID 79 + bool __igt_fixture(void); void __igt_fixture_complete(void); |