mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-11 16:32:58 +00:00
lib/core: Add optional reason for timeout failure
"Timed out" isn't a terribly informative message, allow users to set something more informative. Inspired by a request from Jesse. Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
|
||||
igt_simple_main
|
||||
{
|
||||
igt_set_timeout(1);
|
||||
igt_set_timeout(1, "Testcase");
|
||||
sleep(5);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user