On 30/04/2024 07.40, Paul Gevers wrote:
On 30-04-2024 12:43 a.m., Andreas Beckmann wrote:Testsuite: autopkgtest-pkg-dkmsRight. I was talking about Testsuite-Triggers in the sources file generated by dpkg.
Perhaps you can spot what's wrong with this setup s.t. it does not trigger as intended.I hope it's clear now.
Thanks. That really explains why it's not working as I expected. At least for most packages. nvidia-graphics-drivers got lucky because there is also a (manual) test for building the module from the -source package with m-a which also has the linux-doc dependency.
Related, for future reference, we also have the hint-testsuite-triggers [1] restriction in autopkgtest.
I know, but using that for every package would be against the spirit of Testsuite: autopkgtest-foo ;-)Can you point me to the code that evaluates dpkg's Testsuite-Triggers to schedule these tests? Maybe it's possible to convert dpkg's Testsuite field to a (hardcoded) list of additional triggers ...
Andreas