mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-23 06:13:04 +00:00
lib: add exit status defines
Add defines for success, skip and timeout exit statuses. Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
@@ -37,6 +37,28 @@
|
||||
#include <sys/types.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
/**
|
||||
* IGT_EXIT_TIMEOUT:
|
||||
*
|
||||
* Exit status indicating a timeout occurred.
|
||||
*/
|
||||
#define IGT_EXIT_TIMEOUT 78
|
||||
|
||||
/**
|
||||
* IGT_EXIT_SKIP:
|
||||
*
|
||||
* Exit status indicating the test was skipped.
|
||||
*/
|
||||
#define IGT_EXIT_SKIP 77
|
||||
|
||||
/**
|
||||
* IGT_EXIT_SUCCESS
|
||||
*
|
||||
* Exit status indicating the test executed successfully.
|
||||
*/
|
||||
#define IGT_EXIT_SUCCESS 0
|
||||
|
||||
|
||||
bool __igt_fixture(void);
|
||||
void __igt_fixture_complete(void);
|
||||
void __igt_fixture_end(void) __attribute__((noreturn));
|
||||
|
||||
Reference in New Issue
Block a user