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=202602 header.b=bYFRK2lr; dkim-atps=neutral Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 7A8AA5A0265 for ; Fri, 15 May 2026 10:20:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202602; t=1778833220; bh=ds60mTV/ztmrHsckrzpD75bmZPgqjkbZaFTtZxA4UZc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bYFRK2lreXr7DbLPvCeV15UJYrRmkX9zpICBo2zwka0X8dR7MmEkmZ2PNykwaCDpX RjNgGlcaR0JkV0g0UtHOvm6Glf+mA2AcvAO4JQKUb80VChdsbOQM6XvsfqSAP8URCg sMypHD1so8/yio0E0APXuhwWchA+rLMAYhm8nDfhjeATxoggD8VhRp8EfluW9AaIbw nVrxOrab4r+jqk9/4F0VGHfgTzQpoJb/tkyZHdEUeiLu5vL+x/0fd76VoVU9k7S1nP Weqt0MDCHxkgm952Ts92RgegY5YkBqsqe0OkQlvXFzZH9qiPATDhGSVgjenh/ECAB/ sMQKLdGgprAIA== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4gH0W807WNz4wCm; Fri, 15 May 2026 18:20:20 +1000 (AEST) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH 1/3] test: Extend exeter build tests to cover more recent binaries Date: Fri, 15 May 2026 14:13:10 +1000 Message-ID: <20260515041312.317644-2-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260515041312.317644-1-david@gibson.dropbear.id.au> References: <20260515041312.317644-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: WFJMKXK6FWXJXNJNFUSIOUE5BMJ3S3RJ X-Message-ID-Hash: WFJMKXK6FWXJXNJNFUSIOUE5BMJ3S3RJ 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: Jan Palus , 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: test/build/build.py tests that the Makefile works to build our binaries. However, it hasn't been updated for a while, and doesn't cover passt-repair or pesto. Extend it to cover those too. Signed-off-by: David Gibson --- test/build/build.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/test/build/build.py b/test/build/build.py index e3de8305..eeee5acc 100755 --- a/test/build/build.py +++ b/test/build/build.py @@ -68,10 +68,13 @@ def test_make(target: str, expected_files: list[str]) -> None: assert not p.exists(), f"{p} existed after make clean" -exeter.register('make_passt', test_make, 'passt', ['passt']) -exeter.register('make_pasta', test_make, 'pasta', ['pasta']) -exeter.register('make_qrap', test_make, 'qrap', ['qrap']) -exeter.register('make_all', test_make, 'all', ['passt', 'pasta', 'qrap']) +BINARIES = ['passt', 'pasta', 'qrap', 'passt-repair', 'pesto'] + + +for bin in BINARIES: + exeter.register(f'make_{bin.replace('-', '_')}', test_make, bin, [bin]) + +exeter.register('make_all', test_make, 'all', BINARIES) @exeter.test -- 2.54.0