On Tue, Feb 05, 2019 at 12:06:22PM -0800, Steve Langasek wrote: > On Tue, Feb 05, 2019 at 09:35:23AM +0200, Adrian Bunk wrote: > > And then there is the unrelated #908269 that currently prevents testing > > migration of pbbam. > > > Steve seems to be addressing this with > > http://launchpadlibrarian.net/409374477/pbbam_0.19.0+dfsg-1ubuntu3_0.19.0+dfsg-1ubuntu4.diff.gz > > Yes, but the net result of this change is that now the autopkgtest fails by > running out of memory during the package build at test time, which is why I > haven't submitted a better patch to the BTS. > > I think the ideal here would be to either have a way to generate just the > single data file we need for the tests, or to capture that file from the > package build and ship it in a binary package, so that we don't have to do a > full rebuild during the autopkgtests.
The file is generated during configure, not build. As proof of concept, it works to do override_dh_auto_test: $(subst .t.in,.deb.t,$(wildcard tests/src/cram/pb*.t.in)) ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) dh_auto_configure -O--buildsystem=meson ... cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed