mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 22:02:57 +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:
+2
-2
@@ -16,11 +16,11 @@ int main(void)
|
||||
|
||||
fd = drm_open_any();
|
||||
if (fd < 0)
|
||||
return 77;
|
||||
return IGT_EXIT_SKIP;
|
||||
|
||||
alarm(1);
|
||||
if (ioctl(fd, DRM_IOCTL_I915_GEM_SW_FINISH, &arg) == 0)
|
||||
return 77;
|
||||
return IGT_EXIT_SKIP;
|
||||
|
||||
switch (errno) {
|
||||
case ENOENT:
|
||||
|
||||
Reference in New Issue
Block a user