summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2020-07-21 12:12:54 +0300
committerPetri Latvala <petri.latvala@intel.com>2020-07-22 12:50:33 +0300
commit89ef04d90cf2b96c72820c1927034cf716ea37f7 (patch)
tree0c74ee2774e55bcadc1eae2e003e267950bde8bc
parentb4963876f7ed65604f7d9d714a727485f3a9c136 (diff)
runner: Print a message when aborting due to IGT_EXIT_ABORT
Previously, when a test exited with IGT_EXIT_ABORT, we did abort but did it silently. Print a message so runner logs tell a clear message why we didn't execute the rest of the tests. Signed-off-by: Petri Latvala <petri.latvala@intel.com> Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
-rw-r--r--runner/executor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/runner/executor.c b/runner/executor.c
index 25e37bff0..778189877 100644
--- a/runner/executor.c
+++ b/runner/executor.c
@@ -1113,8 +1113,10 @@ static int monitor_output(pid_t child,
fdatasync(outputs[_F_JOURNAL]);
}
- if (status == IGT_EXIT_ABORT)
+ if (status == IGT_EXIT_ABORT) {
+ errf("Test exited with IGT_EXIT_ABORT, aborting.\n");
aborting = true;
+ }
if (time_spent)
*time_spent = time;