diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-05 08:51:27 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-05 09:30:53 +0200 |
commit | c49542af073687a5dc66eaef19c31eeaf5766a86 (patch) | |
tree | 401219c7325df96f63bfda9332845f8e323beecf /lib/igt_aux.h | |
parent | a16ebccaee426ef96b0894e3af733360d88ce4d7 (diff) |
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>
Diffstat (limited to 'lib/igt_aux.h')
-rw-r--r-- | lib/igt_aux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_aux.h b/lib/igt_aux.h index a90d8d9e..d958abeb 100644 --- a/lib/igt_aux.h +++ b/lib/igt_aux.h @@ -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, |