mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-23 14:23:03 +00:00
lib/drmtest: igt_skip when drm_get_card fails
Also add printf support to igt_skip to make sure there's always a reason why we fail a testcase. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ const char *igt_subtest_name(void);
|
||||
*
|
||||
* For normal tests without subtest it will directly exit.
|
||||
*/
|
||||
void igt_skip(void);
|
||||
__attribute__((format(printf, 1, 2))) void igt_skip(const char *f, ...);
|
||||
void __igt_skip_check(const char *file, const int line,
|
||||
const char *func, const char *check);
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user