[Adding flashrom mailing list to CC. Context: The Ubuntu bug is about moving flashrom from universe to main. See https://bugs.launchpad.net/ubuntu/+source/flashrom/+bug/1912371/ for details.]
If anyone is interested, I can dig up my test scripts which I used to test flashrom, but I do not have any autopkgtest experience. Someone(TM) would have to convert that to autopkgtest format, or we can simply ship selftest scripts to be called from autopkgtest. The amount of testing depends on how much test coverage you want. We can do self-tests with internally emulated hardware or externally emulated hardware or real hardware (the last variant is probably not desirable in a build system). Besides that, flashrom always performs a few self-tests (mostly internal data structure consistency) during startup. The tests have repeatedly caught bugs before a merge when people added new features, but forgot to update all relevant data structures.