diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-11-18 10:39:38 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-11-18 10:39:38 +0100 |
commit | 120d6d1b2c8b3f036058bf2d24d08602dea69ec9 (patch) | |
tree | 0eeb232c7a73ba74e10adc3a90c8bc1fec6dfc63 /lib/igt_aux.c | |
parent | 16f99ee419f56bf7b56657c78ecaa22ccf0c2982 (diff) |
lib/aux: Make it clear that rtcwake failures aren't bugs
Because QA has a bunch of shitty machines with old distros and tends
to re-port this all the time.
References: https://bugs.freedesktop.org/show_bug.cgi?id=82232
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'lib/igt_aux.c')
-rw-r--r-- | lib/igt_aux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/igt_aux.c b/lib/igt_aux.c index 0e1eeea46..3bc10fbd7 100644 --- a/lib/igt_aux.c +++ b/lib/igt_aux.c @@ -347,7 +347,8 @@ void igt_system_suspend_autoresume(void) igt_skip_on_simulation(); ret = system("rtcwake -s 30 -m mem"); - igt_assert(ret == 0); + igt_assert_f(ret == 0, "This failure means that something is wrong with the rtcwake tool " + "or how your distro is set up. This is not a i915.ko or i-g-t bug."); } /** |