[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 16/17] tests/unit: Remove debug statements in test-nested-aio-poll
|
From: |
Thomas Huth |
|
Subject: |
[PULL 16/17] tests/unit: Remove debug statements in test-nested-aio-poll.c |
|
Date: |
Wed, 24 Apr 2024 09:57:34 +0200 |
From: Philippe Mathieu-Daudé <philmd@linaro.org>
We have been running this test for almost a year; it
is safe to remove its debug statements, which clutter
CI jobs output:
▶ 88/100 /nested-aio-poll OK
io_read 0x16bb26158
io_poll_true 0x16bb26158
> io_poll_ready
io_read 0x16bb26164
< io_poll_ready
io_poll_true 0x16bb26158
io_poll_false 0x16bb26164
> io_poll_ready
io_poll_false 0x16bb26164
io_poll_false 0x16bb26164
io_poll_false 0x16bb26164
io_poll_false 0x16bb26164
io_poll_false 0x16bb26164
io_poll_false 0x16bb26164
io_poll_false 0x16bb26164
io_poll_false 0x16bb26164
io_poll_false 0x16bb26164
io_read 0x16bb26164
< io_poll_ready
88/100 qemu:unit / test-nested-aio-poll OK
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20240422112246.83812-1-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
tests/unit/test-nested-aio-poll.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/tests/unit/test-nested-aio-poll.c
b/tests/unit/test-nested-aio-poll.c
index db33742af3..d8fd92c43b 100644
--- a/tests/unit/test-nested-aio-poll.c
+++ b/tests/unit/test-nested-aio-poll.c
@@ -30,19 +30,16 @@ typedef struct {
static void io_read(EventNotifier *notifier)
{
- fprintf(stderr, "%s %p\n", __func__, notifier);
event_notifier_test_and_clear(notifier);
}
static bool io_poll_true(void *opaque)
{
- fprintf(stderr, "%s %p\n", __func__, opaque);
return true;
}
static bool io_poll_false(void *opaque)
{
- fprintf(stderr, "%s %p\n", __func__, opaque);
return false;
}
@@ -50,8 +47,6 @@ static void io_poll_ready(EventNotifier *notifier)
{
TestData *td = container_of(notifier, TestData, poll_notifier);
- fprintf(stderr, "> %s\n", __func__);
-
g_assert(!td->nested);
td->nested = true;
@@ -62,8 +57,6 @@ static void io_poll_ready(EventNotifier *notifier)
g_assert(aio_poll(td->ctx, true));
td->nested = false;
-
- fprintf(stderr, "< %s\n", __func__);
}
/* dummy_notifier never triggers */
--
2.44.0
- [PULL 06/17] .travis.yml: Remove the unused UNRELIABLE environment variable, (continued)
- [PULL 06/17] .travis.yml: Remove the unused UNRELIABLE environment variable, Thomas Huth, 2024/04/24
- [PULL 07/17] .travis.yml: Update the jobs to Ubuntu 22.04, Thomas Huth, 2024/04/24
- [PULL 09/17] tests: Remove Ubuntu 20.04 container, Thomas Huth, 2024/04/24
- [PULL 11/17] tests/docker/dockerfiles: Run lcitool-refresh after the lcitool update, Thomas Huth, 2024/04/24
- [PULL 12/17] tests: Update our CI to use CentOS Stream 9 instead of 8, Thomas Huth, 2024/04/24
- [PULL 13/17] ci: move external build environment setups to CentOS Stream 9, Thomas Huth, 2024/04/24
- [PULL 14/17] hw/s390x: Include missing 'cpu.h' header, Thomas Huth, 2024/04/24
- [PULL 15/17] docs/devel: fix minor typo in submitting-a-patch.rst, Thomas Huth, 2024/04/24
- [PULL 16/17] tests/unit: Remove debug statements in test-nested-aio-poll.c,
Thomas Huth <=
- [PULL 17/17] target/s390x: Remove KVM stubs in cpu_models.h, Thomas Huth, 2024/04/24
- Re: [PULL 00/17] CI job updates, header cleanups and other misc patches, Richard Henderson, 2024/04/24