summaryrefslogtreecommitdiff
path: root/runner
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2019-10-16 14:13:49 +0300
committerPetri Latvala <petri.latvala@intel.com>2019-10-21 14:30:57 +0300
commit85d2c4a0c7daa0478a6874578ff92eb9f0520de4 (patch)
tree113f785b0c87fb8223dec69258ea86c92b3a2b3e /runner
parent1205552397bd8a19dc6e5abdaa727cc091dabbfe (diff)
runner: Produce skip instead of notrun for nonexisting tests
If a test was attempted but didn't actually exist, make it result in a skip instead of a notrun. This is to differentiate them from the tests that we didn't even attempt, like tests after getting a machine hang. This will improve handling of subtests for GEM engines that don't exist. Signed-off-by: Petri Latvala <petri.latvala@intel.com> Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Cc: Martin Peres <martin.peres@linux.intel.com> Acked-by: Martin Peres <martin.peres@linux.intel.com>
Diffstat (limited to 'runner')
-rw-r--r--runner/resultgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runner/resultgen.c b/runner/resultgen.c
index 46c9d8d54..5faa85553 100644
--- a/runner/resultgen.c
+++ b/runner/resultgen.c
@@ -732,7 +732,7 @@ static const char *result_from_exitcode(int exitcode)
case IGT_EXIT_SUCCESS:
return "pass";
case IGT_EXIT_INVALID:
- return "notrun";
+ return "skip";
case INCOMPLETE_EXITCODE:
return "incomplete";
default: