summaryrefslogtreecommitdiff
path: root/runner
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2019-02-13 11:35:51 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2019-02-15 10:36:40 +0100
commit0fb09e7f424fc6c82d52051e4640b65ad1c81eff (patch)
tree14dbb13eaf946870fa2d2e6aca7c7d8a05de713c /runner
parentd21a690f1a7c682ed51d167baa6404c129be17d4 (diff)
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 <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'runner')
-rw-r--r--runner/resultgen.c3
1 files changed, 0 insertions, 3 deletions
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: