mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-23 14:23:03 +00:00
lib/igt_aux: Improve wait_for_keypress helper a bit
- Use keys in just one env variable to enable/disable it. - Add an informational message so that the users knows when to press the key (more useful over ssh than when run on the terminal ofc). - Improve the documentation so that it's clearer how to use this when running tests. Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ void igt_system_suspend_autoresume(void);
|
||||
/* dropping priviledges */
|
||||
void igt_drop_root(void);
|
||||
|
||||
void igt_wait_for_keypress(void);
|
||||
void igt_debug_wait_for_keypress(const char *key);
|
||||
|
||||
enum igt_runtime_pm_status {
|
||||
IGT_RUNTIME_PM_STATUS_ACTIVE,
|
||||
|
||||
Reference in New Issue
Block a user