All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petri Latvala <petri.latvala@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Petri Latvala <petri.latvala@intel.com>
Subject: [igt-dev] [PATCH i-g-t 2/2] runner: Print a message when aborting due to IGT_EXIT_ABORT
Date: Tue, 21 Jul 2020 12:12:54 +0300	[thread overview]
Message-ID: <20200721091254.30072-2-petri.latvala@intel.com> (raw)
In-Reply-To: <20200721091254.30072-1-petri.latvala@intel.com>

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>
---
 runner/executor.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/runner/executor.c b/runner/executor.c
index 25e37bff..77818987 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;
-- 
2.20.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  reply	other threads:[~2020-07-21  9:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-21  9:12 [igt-dev] [PATCH i-g-t 1/2] runner: Use exitcode 127 when resume is impossible Petri Latvala
2020-07-21  9:12 ` Petri Latvala [this message]
2020-07-21  9:39 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] " Patchwork
2020-07-21 10:37 ` [igt-dev] [PATCH i-g-t 1/2] " Arkadiusz Hiler
2020-07-21 12:53 ` [igt-dev] ✗ Fi.CI.IGT: failure for series starting with [i-g-t,1/2] " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200721091254.30072-2-petri.latvala@intel.com \
    --to=petri.latvala@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.