mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-11 16:32:58 +00:00
lib/core: add interactive debug point to igt_fail
Useful for inspecting the screen state in kms tests when they fail. Also move the screen clearing in kms_cursor_crc to the bottom. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
This commit is contained in:
@@ -918,6 +918,8 @@ void igt_fail(int exitcode)
|
||||
{
|
||||
assert(exitcode != IGT_EXIT_SUCCESS && exitcode != IGT_EXIT_SKIP);
|
||||
|
||||
igt_debug_wait_for_keypress("failure");
|
||||
|
||||
if (!failed_one)
|
||||
igt_exitcode = exitcode;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user