diff options
-rw-r--r-- | lib/igt_core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/igt_core.c b/lib/igt_core.c index 5092a3f0..af36fef9 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -2143,12 +2143,12 @@ static const char *timeout_op; static void __attribute__((noreturn)) igt_alarm_handler(int signal) { if (timeout_op) - igt_info("Timed out: %s\n", timeout_op); + igt_critical("Timed out: %s\n", timeout_op); else - igt_info("Timed out\n"); + igt_critical("Timed out\n"); /* exit with failure status */ - igt_fail(IGT_EXIT_FAILURE); + igt_fail(IGT_EXIT_TIMEOUT); } /** @@ -2156,7 +2156,7 @@ static void __attribute__((noreturn)) igt_alarm_handler(int signal) * @seconds: number of seconds before timeout * @op: Optional string to explain what operation has timed out in the debug log * - * Fail a test and exit with #IGT_EXIT_FAILURE status after the specified + * Fail a test and exit with #IGT_EXIT_TIMEOUT status after the specified * number of seconds have elapsed. If the current test has subtests and the * timeout occurs outside a subtest, subsequent subtests will be skipped and * marked as failed. |