On Sat, 2025-08-02 at 15:33 +0200, Carl Keinath wrote: > > Are you able to add autopkgtest testing to the package? > Regarding autopkgtest support, I am currently working on this. > Is it prefered using an additional test binary built and shipped in > the package or relying on the tests CMake target and rebuilding it > during the test? > Or is there another approach you'd recommend for this sort of setup? > Afaik upstream builds a bin which resembles the tests. It's best to use the CMake target rather than ship a test binary in the package, since this will also test if the pkg-config discovery files[1] are included in the package and working properly. I know this is pretty annoying to set up though; I did this at [2] a few hours ago for a different CMake-based library. -- Maytham [1] i.e. /usr/lib/x86_64-linux-gnu/pkgconfig/hyprgraphics.pc [2] https://salsa.debian.org/Maytha8/quill/-/commit/b63a008
Attachment:
signature.asc
Description: This is a digitally signed message part