From patchwork Fri Sep 6 13:29:06 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: 825979 Delivered-To: patch@linaro.org Received: by 2002:adf:a345:0:b0:367:895a:4699 with SMTP id d5csp803267wrb; Fri, 6 Sep 2024 06:30:00 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXVdIYnkGrLIfOtguxnK4Rf3TYok7hMQp7FA8Ev7w6s+2ogMlNwS2bW9f9l2UJwM5xFIABOfw==@linaro.org X-Google-Smtp-Source: AGHT+IGJMU+VefNTTmbzMnsSXKeNJOU2JtNqjZl7DvZ7ShInCo+5w6vTeVBMZR55u7oL6eSuvWSk X-Received: by 2002:a05:620a:462c:b0:7a1:62d3:b9a3 with SMTP id af79cd13be357-7a98889f963mr1481068285a.17.1725629400636; Fri, 06 Sep 2024 06:30:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725629400; cv=none; d=google.com; s=arc-20240605; b=jKwqut+M52k+JaddADiXvbzhwioQHEPKBBbNs9A8v2wEgdEGwVcEVPdDK56BZT+Kh8 /8ZV56MWAkl8KAX8mjP1D+lbmTAziEsNewd7KssAllD+J2zhSPTruynei1LmpFywdUjt IS+wiWYlNqT/Mgugw7kRaSPlwQobLYlQHvUmi39CLVJ1d616AsOefBMCZ1hlRLIb/qkV 48/AYl/HFi70AShLr76SUs31kC2fqINvy4L62nc6ta5mgaM8K+SxTwYtraGwEJ+4ZN6d IhGATA/g9AR35el/HKvCeJ/FMy+lE7u87PEJ0fOb2DpnZ8QKUTHAU/Y4hUeLhAUnCC/u 1VVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=higbf/H/m+iWK5EKx4vHWTv+DJVaDMOZrGgJdkrWBZw=; fh=17KGNHbtERzR+bqU7cV4aLplPWnDbeAlR1/rKtROqks=; b=ERJO+MuTO8E4SFBvl3QjsILEciRj1pU39duC0zeQCvEDMdIsDef1lUKH75U7ucPKb2 c5G4zL068TtXIJpYJ+rG7Vw9fZ455tZtaRKc9pWBZREMOtvFKWu0bD3Y7IFHjci/vMF4 JTiK2zULRVEM/ycvLhMpS6590Enpz5E4KI2p9JG6FlZux7CM/oYI9Xes8SEnUFaCw6Ee sNrjBA6UbUmkdFfYRncHyENeZQJdVjl/yKMwSc3jtbG5lsV47+QaPazSBagbkehkNRCH +qH7wNARHneEx2s368Qp734NZKygod1AitxJBPTBmeJlkwjN9pFlHoUNJ+Dmqe1tSO2K bKvA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ghmErc8E; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7a9a1069036si28210085a.317.2024.09.06.06.30.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Sep 2024 06:30:00 -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=ghmErc8E; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smZ1b-0003U1-42; Fri, 06 Sep 2024 09:29:19 -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 1smZ1Z-0003PM-1d for qemu-devel@nongnu.org; Fri, 06 Sep 2024 09:29:17 -0400 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1smZ1X-0008Mq-2E for qemu-devel@nongnu.org; Fri, 06 Sep 2024 09:29:16 -0400 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a868d7f92feso282760066b.2 for ; Fri, 06 Sep 2024 06:29:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725629353; x=1726234153; 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=higbf/H/m+iWK5EKx4vHWTv+DJVaDMOZrGgJdkrWBZw=; b=ghmErc8EFFFs4Au1Utj3rBV9Y5KNH3RL7VTUAKbSm6koDElHBTU7nmyM50ps2VrHUZ UU7rQDlXyfeYz2WZXRvSFm+V+TFXAUdIHm81/bDX3tM3jqJfw17GyLl80RAzb9uAu9T9 CSttIXIZ3e3Dbm8i///NqVoG7brhSbAIj/ihA5D46aNxnuQvKr1MvdLBTxo3jhne+KVa f4NYSJlmWYR3xfVpVyARa5FnsrfjONgfy1+BzaTPEh/Fp/uv48gbXBLA/j63WtK6PSlT cLqwzvFaTuQOrO2UNkLxtsz4VvM43NkOmQI8Dbk2x3PBzY1rr2Lxr6CYbjzfGurGbORh CTVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725629353; x=1726234153; 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=higbf/H/m+iWK5EKx4vHWTv+DJVaDMOZrGgJdkrWBZw=; b=I/w7NrM8QWR4PK1kp/DQ/7pdC8LpIAEAhzW9M3SZ4ZTAAZwuP+QOSkwmzZuUeGTIf/ ma8vvTrSwGepsINtKYJ8KN6gw0eVrlyjxF8OPCIeFbgwYCSuUIjL3shCUYb7HmFEvZyt qxbgiiSOJn28wfcC91U6h5rg5lRG7HmTvOH1h8diwAqSU7EWpTXmxiyLHd1n863cm93r CIqtSEtNWlMwMuXaP1AS/aEcG/IxVzmHJnvmny/gdok3ICW9L2LR9gotbs2USViTpdhc W2H3jIF31dshYaS8zB7aZ9MXgx6jAPHleA8hF5e1ueEAY4nhHsGJSmriH1O9xQIUkvSd 2IUw== X-Gm-Message-State: AOJu0YwXBP6NmkPq18yzffoPO+pxV7g8wgGLAhIZffWMa0cOjgs/SN6+ 5pDzsmwfo5r8VdjQcMMlA0mrxzSePzkkl18O/Xpr6S+bZUi+I25nyeivzscKronbY02jhb/3Whm Q X-Received: by 2002:a17:907:7295:b0:a86:9d3d:edef with SMTP id a640c23a62f3a-a897f77fa48mr2295729066b.12.1725629352516; Fri, 06 Sep 2024 06:29:12 -0700 (PDT) Received: from localhost.localdomain ([80.215.236.92]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8a623a690esm278804066b.175.2024.09.06.06.29.11 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 06 Sep 2024 06:29:12 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Mark Cave-Ayland , Octavian Purdila , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 0/3] tests/unit: Slightly expand FIFO8 tests Date: Fri, 6 Sep 2024 15:29:06 +0200 Message-ID: <20240906132909.78886-1-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62d; envelope-from=philmd@linaro.org; helo=mail-ej1-x62d.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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 Since v1: - Correctly place patch hunks in corresponding patch Mostly add documentation while reviewing them. Based-on: <20240828122258.928947-1-mark.cave-ayland@ilande.co.uk> Philippe Mathieu-Daudé (3): tests/unit: Strengthen FIFO8 tests tests/unit: Expand test_fifo8_peek_buf_wrap() coverage tests/unit: Comment FIFO8 tests tests/unit/test-fifo.c | 209 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 201 insertions(+), 8 deletions(-)