From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 96B4C5A031C for ; Wed, 07 Aug 2024 03:04:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1722992659; bh=frx04lEv4N8QFW+wUKSBPeGqIbgm0TUUY4kiDhJRCHM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NYrILPsI2RgRlNvwMi/+kQbEhRozocNIyAMO6UGf01kh6E8je0aTJMWUpx6/xEtHV zuJKfg2EF+E8IO77sODOt+y50z4UB+bWKUCLkBeJxnPzxYRWqUCTIKM2dVuH8hMWYj N1dS6AYI1K6khLAYZznmFqXrcdUJL4LVYvfJPHMXI8apuJFZGTH5mWN4hnsrAWJeDN lEKWjPhvSKZelZYPz5b6KX705sdBw2mYKK8/Ft40QIFpoJLYLwHDeVZmppwRi5mcuG pXmCs2HkhFyFjrtg7mwggfcZ/woidEV31VyE4S6c00Lc5kpt6TlUClsmXrv4BLUr7R wCFtQFdEzw+Ww== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4WdsQC43vYz4wnx; Wed, 7 Aug 2024 11:04:19 +1000 (AEST) Date: Tue, 6 Aug 2024 22:28:19 +1000 From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: Re: [PATCH v2 00/22] RFC: Proof-of-concept based exeter+Avocado tests Message-ID: References: <20240805123701.1720730-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lN4yJuuYcGFWaDXm" Content-Disposition: inline In-Reply-To: <20240805123701.1720730-1-david@gibson.dropbear.id.au> Message-ID-Hash: YA3DL26TD356SYOT6AS2JQISDS345ICX X-Message-ID-Hash: YA3DL26TD356SYOT6AS2JQISDS345ICX 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: Cleber Rosa 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: --lN4yJuuYcGFWaDXm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 05, 2024 at 10:36:39PM +1000, David Gibson wrote: > Here's a rough proof of concept showing how we could run tests for > passt with Avocado and the exeter library I recently created. It > includes Cleber's patch adding some basic Avocado tests and builds on > that. >=20 > The current draft is pretty janky: > * The build rules to download and install the necessary pieces are messy > * We create the Avocado job files from the exeter sources in the > Makefile. Ideally Avocado would eventually be extended to handle > this itself > * The names that Avocado sees for each test are overlong > * There's some hacks to make sure things are executed from the > right working directory >=20 > But, it's a starting point. >=20 > Stefano, >=20 > If you could look particularly at 6/22 and 22/22 which add the real > tests for passt/pasta, that would be great. The more specific you can > be about what you find ugly about how the tests are written, then > better I can try to address that. >=20 > I suspect it will be easier to actually apply the series, then look at > the new test files (test/build/build.py, and test/pasta/pasta.py > particularly). From there you can look at as much of the support > library as you need to, rather than digging through the actual patches > to look for that. Forgot to mention. Patches 1 & 2 should be good to go regardless of what we do with the rest of the testing stuff. --=20 David Gibson (he or they) | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you, not the other way | around. http://www.ozlabs.org/~dgibson --lN4yJuuYcGFWaDXm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmayFuIACgkQzQJF27ox 2GewCA/7BaK3LHV98rdJbjLXpMfuo7bpp78+Vb/hdgTAzDVo1hmiSyX5TDJScE/z JpyNwqCS+AWqwLJOfgdWIppNXhwjV8CF1wifG89o233WVxLH9mYKbdY3ExNMOMPc 5YdE8ceyDw2p2zdNNII2qcYBp7qkc17ls1bGZrxsH/+yfQ5GEOrAnBIa7n/+//iK AVXrRMSSnvQZBYotM1bo8wmQ2gO9ugyiT7HDbIbZHh+IsZeopHcohd9oVbkNIlYo g+YLPy9FyfcWbZWkjnDTabeFfuoTYPupHRmFNjZhsnQEdU/ir+nOLG2oKa2MieRj VLQredO6ZwmfVqXSEL//Rfh2pDmeZeYCbRJkMfLiZQzykrNxSWLXgtTE4wQVHRCY bWGcd3nafc+M+zfM7MdbaBD+bXmvsQSIVi2lSZ8oEAC4XRyEd7kvlJHnL89IkKB3 e4pFIbIA+2WgqyVnxTL83dgkUc1jmsoMxKKzpBkDoLQjiSrb92LQVpBSUE1649mB ZZ2x9LQieKWrxbyqLAwG+Pj4npXyrnnI2A9SPA0ovbjqHwGnHnmrbMfNiHXURapt eM2PUgqtZVShlPoS2croh288anrJuxeK6XorLZqCS0fCzI2Caxs0UiJ4dYp5zeSB BWfrQ4aM7rW/k7GqhqQI7xHs6GZsp+bc2IXRD+9Y/ynY5IS8kmo= =NCYV -----END PGP SIGNATURE----- --lN4yJuuYcGFWaDXm--