From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202508 header.b=Et9ZeYZi; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 9CE365A026F for ; Wed, 01 Oct 2025 11:52:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202508; t=1759312328; bh=riNqh6gS38BVuiR3IvBbXqtUA6TX9iV50K96upv5phI=; h=From:To:Cc:Subject:Date:From; b=Et9ZeYZidHrdSBc8OCsRbqnMqA/7JOhxJRn/TT4kWLVa/No2R6R/ei4L9P0qS0r6c vD32kF74WEPye5fJtI4YtqpOvgNMMJnAfM4x8+YPcdhAXJwDQKebNGwIvLpbWRuTbs kw89Ljrpt1IM0fqL3trkvYeoTfab4pFhGDiiOXVLYwqet1odpDa5ZCAiRZBB5WbzS3 MuItCc/r/6U9KQfRt9oN7WWf8utHbmh4WXN2dpQr98Twc4P7TcOM7DiYp972XoqcKC eOwlUnmeJ4xCH6Tmj0Aqz/bHGge3o4XENnGh5Frr2rp2UnX8S0qrU4NCztJCLzo2wV bjYuXIThWT/zA== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4cc9FN2DWBz4wDF; Wed, 1 Oct 2025 19:52:08 +1000 (AEST) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH 0/6] Test and linter fixups Date: Wed, 1 Oct 2025 19:51:56 +1000 Message-ID: <20251001095202.3875003-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.51.0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: Q62LEO7AWOBOO6OWAUH46SX7SKKNB5XC X-Message-ID-Hash: Q62LEO7AWOBOO6OWAUH46SX7SKKNB5XC X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Before starting to convert testcases to use tunbridge, I wanted to add linting for the Python test scripts. While doing that I discovered a new crop of cppcheck and clang-tidy false positives, and a Makefile bug. Here's a batch of fixes. I didn't manage to get through the whole testsuite with this. I keep getting hangs on rampstream_out, which I *think* are unrelated. David Gibson (6): test: Convince make not to accidentally delete exetool test: Add linting of Python test scripts clang-tidy: Suppress redundant expression warning cppcheck: Suppress the suppression of a suppression cppcheck: Suppress a buggy cppcheck warning cppcheck: Suppress variable scope warnings in dhcpv6() dhcpv6.c | 8 ++++++++ linux_dep.h | 2 +- tcp.c | 5 +++++ test/Makefile | 16 +++++++++++++++- test/build/build.py | 5 +++-- test/build/static_checkers.sh | 6 +++++- vhost_user.c | 1 + 7 files changed, 38 insertions(+), 5 deletions(-) -- 2.51.0