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>
This commit is contained in:
Daniel Vetter 2014-11-18 10:39:38 +01:00
parent 16f99ee419
commit 120d6d1b2c

View File

@ -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.");
}
/**