From patchwork Mon Apr 22 11:22:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 790957 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp2299240wrm; Mon, 22 Apr 2024 04:23:57 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUC+0OoWOCdTJhtBiZIAgyElA/kMmFi2BNCSC1FuiqSObLH+yW/jiqRsleprSI9witHXQhxqZeM3Ip6rcr4gNiI X-Google-Smtp-Source: AGHT+IHCXB45UHlhtBSXTBdlVM+3N6tXMBbNbKbxc59K3D7ZXU1ZeNkeI+lg/kmTdCevgvX8Ijf6 X-Received: by 2002:ac8:5e09:0:b0:437:b8c6:9989 with SMTP id h9-20020ac85e09000000b00437b8c69989mr14089300qtx.32.1713785037348; Mon, 22 Apr 2024 04:23:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713785037; cv=none; d=google.com; s=arc-20160816; b=HnkhlLc/PsueFf7BnlyX6A5Wtnjiup+/VGuDorKW6nrJSejsOivaEed2NUeL8ZM6cy 4aGMAKZuzXMqhO8N2eCUOmU87uixo86E1/hC6+k6v0Jlvcw0or3YDPS/nvsMW1t0iGPi /bHs22AFz4TBgKJRZejYUEcqKBCgvBCICXYO8q83hw18teBL+OvA6FZaburaJKHcsN9y yfidBPfetfdv0XeEy1kAJ+LtrLOtoTgGD8RVK02c8cpA2dW8ON3B/hiV8FEgPTlJe8Gm zsty1BLkZikhTgDXA1OZhQ2okB2mjnT+HT1hWgSTQC3hp/YyfIb9M11Uoxs36q1YAqei f4Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=ZcGB7AVbotcMxmI4ZLawBRUBeDiwK/Ghj12lwMkTPi8=; fh=vievONt0dykKi5ZKrSP/oLL2D4xreTJxcsKfN0jDGmo=; b=twUt8Akpw5sZzVBz7Ilj3bewkAqotKNhPyl6yXGyUeqC/jVGdgo9KvdooCd2Y9qXPh p2r3tQN6HURYIM7LHCAWblshCCSUnk6TbN8QC5QL5VW4+Y1Hgq+bVpcP2STvj8piYhXR SZ/Ta9wzHJY2BLeZkUwibYHU1y63sFo7ISYsXj4uK1MZaGI7rnMZkWQX9750tSx9+JNj 0HzYKRQloh08WQldzoA7H3pxnifkjILFpc+yDZC+N84SQaTH3Xp9f7JRkm8zHf+Us48i QZ9plbBNt7HL2vCRg1U2zeLA26tX0rL6HODp9TL0uHWDswPjN29TjLceY/DIgo2wxMxo RrYA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NVwW5k++; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ep16-20020a05622a549000b0043478a22ab0si9233127qtb.549.2024.04.22.04.23.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Apr 2024 04:23:57 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NVwW5k++; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryrlG-0001Yk-Js; Mon, 22 Apr 2024 07:23:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ryrl9-0001Ww-2p for qemu-devel@nongnu.org; Mon, 22 Apr 2024 07:22:56 -0400 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ryrl5-00075E-0g for qemu-devel@nongnu.org; Mon, 22 Apr 2024 07:22:53 -0400 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-51ab4ee9df8so3871681e87.1 for ; Mon, 22 Apr 2024 04:22:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713784968; x=1714389768; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ZcGB7AVbotcMxmI4ZLawBRUBeDiwK/Ghj12lwMkTPi8=; b=NVwW5k++2tvXMc4ku6oLxea1FqVPDMzjlSBJKPyTJ5lIh6hya4tzDR8yS9OC6cdyEL io+4BjmEkysN02+PYwvbPe92V0VTwiTmeh9Zp6qj0J820UfdBA3d+Kb65uA3QNFLZEpb tb1SSinOYOnPYtWnOlHuhBD6P292eexbxio0AqK9mHfBrPs+5fPvxh/k6POqPtHG0LD5 JSBBuxhq0kjjwwFjc+zTm9UZUTAqbiOZVGK2rXFO2sS93uKflUSgluCL3s3xWdDLf006 aadWWXHXr5gT0AOk9dVhi6CYM1qlrBzeLiBRtjeP4aZutb/h5dBZVetIrD7uDwcs+yFq 6JXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713784968; x=1714389768; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZcGB7AVbotcMxmI4ZLawBRUBeDiwK/Ghj12lwMkTPi8=; b=xNBCD4AQvfX/fumUwfmwQzUsAYo244H+9QaOFgV4mV2lhaTIjHtDuis+Qz+QhJ3opC 0FxXGndRWikgWZaTpMRM0ZkTH0YwKR1k6EBfqOTBl8lHpzB9VN+AnEUPWWrVtt/L2EKd FM8cIrTKYE+y6I09ki7BzFtTmLtn7ynPEqnNmzpYX9Czmvd4UprcpzG2YFiyX3pd7IjS sywr2CEHfdRhYtaNRSwiGX+YPI/W74XgKDz0koyaxaeoC0hbYSUHWmOliM3y9KbI2ZOg R0RNXlPIlM2E7ehee72QjYXLaIjV+Bhj9b8I0VPxQF8eq5Smb5ED8Kl+y3bhMJ5kY4FY w7SQ== X-Gm-Message-State: AOJu0YxVZwW9K66Nbi+xSInLuD6/f5ryIMRWpGzIDxbTCWjm2umFADcN E+u8CASFDONS3HUSfarIqS+wPdxTuPaBVKakdl2wZipGEM3e9vHlMxAhjg6MuYcZ4nFmcbyNedV / X-Received: by 2002:a05:6512:908:b0:516:9fe6:bc91 with SMTP id e8-20020a056512090800b005169fe6bc91mr5418100lft.25.1713784968077; Mon, 22 Apr 2024 04:22:48 -0700 (PDT) Received: from m1.home (lfbn-bay-1-170-196.w83-193.abo.wanadoo.fr. [83.193.250.196]) by smtp.gmail.com with ESMTPSA id o14-20020a05600c510e00b00419f572671dsm7983172wms.20.2024.04.22.04.22.47 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 22 Apr 2024 04:22:47 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, qemu-block@nongnu.org, Stefan Hajnoczi , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Eric Blake , Richard Henderson Subject: [PATCH v2] tests/unit: Remove debug statements in test-nested-aio-poll.c Date: Mon, 22 Apr 2024 13:22:46 +0200 Message-ID: <20240422112246.83812-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=philmd@linaro.org; helo=mail-lf1-x12f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.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 Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Stefan Hajnoczi --- 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 */