From 0fb09e7f424fc6c82d52051e4640b65ad1c81eff Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Wed, 13 Feb 2019 11:35:51 +0100 Subject: lib: Drop IGT_EXIT_TIMEOUT We use the timeout status for when the runner had to kill a testcase, which indicates a more sever issue than an operation failing that we expected to complete within seconds. Since it's unused, drop it. Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- runner/resultgen.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'runner') diff --git a/runner/resultgen.c b/runner/resultgen.c index be884955..32b59d59 100644 --- a/runner/resultgen.c +++ b/runner/resultgen.c @@ -18,7 +18,6 @@ #define INCOMPLETE_EXITCODE -1 -_Static_assert(INCOMPLETE_EXITCODE != IGT_EXIT_TIMEOUT, "exit code clash"); _Static_assert(INCOMPLETE_EXITCODE != IGT_EXIT_SKIP, "exit code clash"); _Static_assert(INCOMPLETE_EXITCODE != IGT_EXIT_SUCCESS, "exit code clash"); _Static_assert(INCOMPLETE_EXITCODE != IGT_EXIT_INVALID, "exit code clash"); @@ -731,8 +730,6 @@ static bool fill_from_dmesg(int fd, static const char *result_from_exitcode(int exitcode) { switch (exitcode) { - case IGT_EXIT_TIMEOUT: - return "timeout"; case IGT_EXIT_SKIP: return "skip"; case IGT_EXIT_SUCCESS: -- cgit v1.2.3