From: Simon Ser <simon.ser@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] tests/kms_chamelium: print audio sub-sub-test results
Date: Tue, 21 May 2019 16:35:33 +0300 [thread overview]
Message-ID: <20190521133533.872-1-simon.ser@intel.com> (raw)
We run multiple audio sub-sub-tests inside the same sub-test to save a modeset.
With the current output it's not clear whether a particular sub-sub-test
succeeded or not.
After a sub-sub-test has completed, print its configuration (format, channels,
sampling rate) and its result.
Signed-off-by: Simon Ser <simon.ser@intel.com>
---
tests/kms_chamelium.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/kms_chamelium.c b/tests/kms_chamelium.c
index f4fe38459dd9..8da6ec20759e 100644
--- a/tests/kms_chamelium.c
+++ b/tests/kms_chamelium.c
@@ -1033,6 +1033,12 @@ do_test_display_audio(data_t *data, struct chamelium_port *port,
alsa_close_output(alsa);
+ igt_debug("Audio test result for format %s, sampling rate %d Hz and "
+ "%d channels: %s\n",
+ snd_pcm_format_name(playback_format),
+ playback_rate, playback_channels,
+ success ? "ALL GREEN" : "FAILED");
+
if (dump_fd >= 0) {
close(dump_fd);
if (success) {
--
2.21.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next reply other threads:[~2019-05-21 13:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-21 13:35 Simon Ser [this message]
2019-05-21 14:40 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/kms_chamelium: print audio sub-sub-test results Patchwork
2019-05-21 14:53 ` Ser, Simon
2019-05-23 8:12 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_chamelium: print audio sub-sub-test results (rev2) Patchwork
2019-05-24 0:52 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-05-24 13:54 ` [igt-dev] [PATCH i-g-t] tests/kms_chamelium: print audio sub-sub-test results Arkadiusz Hiler
2019-05-27 10:18 ` [igt-dev] ✓ Fi.CI.BAT: success for " 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=20190521133533.872-1-simon.ser@intel.com \
--to=simon.ser@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