On Sat, 03 Aug 2024 at 09:28:06 +0200, Niels Thykier wrote: > Helmut Grohne: > > Writing tests is a bit non-trivial. Whilst Ubuntu has pioneered an > > autopkgtest extension for cross architecture testing, this does not seem > > to be available in Debian. Testing the native case is rather boring in > > my view. As for manual testing, I verified that :amd64 (natively), :i386 > > (without installing qemu), and :armhf (qemu) work as expected on amd64. > > It would be boring to test the native flow, but it would still assert that > the code minimally works. Therefore, I think we should have that test case.
If we want packages like gobject-introspection to be able to rely on using the cross-exe-wrapper unconditionally, then it's important that it's reliable in the trivial case (build arch = host arch), so I think automated test coverage for that trivial case would still be worth having. For cross-architecture autopkgtest, reviewing the latest revision of Ubuntu's autopkgtest MR is on my list, but my list is not short. I spent some time on reviewing earlier versions of that MR, and my conclusion at the time was that they weren't ready, but hopefully the latest version is in a better state. smcv