From: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH RFC 2/2] lib/igt_core: print card sysfs node at subtest results
Date: Wed, 28 Sep 2022 10:58:42 +0200 [thread overview]
Message-ID: <20220928085842.34107-3-mauro.chehab@linux.intel.com> (raw)
In-Reply-To: <20220928085842.34107-1-mauro.chehab@linux.intel.com>
From: Mauro Carvalho Chehab <mchehab@kernel.org>
This helps to identify what GPU failed on multi-GPU tests.
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
---
lib/igt_core.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/igt_core.c b/lib/igt_core.c
index 0d018758ce38..6575eabca027 100644
--- a/lib/igt_core.c
+++ b/lib/igt_core.c
@@ -1481,6 +1481,9 @@ __noreturn static void exit_subtest(const char *result)
igt_gettime(&now);
+ if (gpu_string)
+ igt_info("%s: ", gpu_string);
+
igt_info("%s%s %s: %s (%.3fs)%s\n",
(!__igt_plain_output) ? "\x1b[1m" : "",
subtest_text, *subtest_name, result,
--
2.37.3
next prev parent reply other threads:[~2022-09-28 8:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-28 8:58 [igt-dev] [PATCH RFC 0/2] add sysfs node at subtest results when available Mauro Carvalho Chehab
2022-09-28 8:58 ` [igt-dev] [PATCH RFC 1/2] lib/igt_core: add a logic to store a GPU string Mauro Carvalho Chehab
2022-09-28 8:58 ` Mauro Carvalho Chehab [this message]
[not found] ` <YzQXFRYCk8Alj4zR@platvala-desk.ger.corp.intel.com>
[not found] ` <YzR1ypRVkKtVXt22@kamilkon-desk1>
2022-09-29 8:21 ` [igt-dev] [PATCH RFC 2/2] lib/igt_core: print card sysfs node at subtest results Mauro Carvalho Chehab
[not found] ` <YzVuHIriXmCIbiVT@platvala-desk.ger.corp.intel.com>
2022-09-29 12:56 ` Mauro Carvalho Chehab
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=20220928085842.34107-3-mauro.chehab@linux.intel.com \
--to=mauro.chehab@linux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox