All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/kms_chamelium: print audio sub-sub-test results
@ 2019-05-21 13:35 Simon Ser
  2019-05-21 14:40 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Simon Ser @ 2019-05-21 13:35 UTC (permalink / raw)
  To: igt-dev

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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-05-27 10:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-21 13:35 [igt-dev] [PATCH i-g-t] tests/kms_chamelium: print audio sub-sub-test results Simon Ser
2019-05-21 14:40 ` [igt-dev] ✗ Fi.CI.BAT: failure for " 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

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.