From 120d6d1b2c8b3f036058bf2d24d08602dea69ec9 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Tue, 18 Nov 2014 10:39:38 +0100 Subject: 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 --- lib/igt_aux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/igt_aux.c') diff --git a/lib/igt_aux.c b/lib/igt_aux.c index 0e1eeea4..3bc10fbd 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."); } /** -- cgit v1.2.3