I'm working on putting a project into PPA. The project is large and has lots of tests. A couple of tests require that some locales are installed. To get around this I've made a pbuilder hook that
locale-gens the required locales. This works like a charm. The tests pass. If I don't do this pbuilder fails because the tests fail.
Since I don't use the
override_dh_auto_test target in
debian/rules to skip the tests I presume that the launchpad build will fail because the tests will fail without the locales.
Is there a way to install the locales on launchpad builds similar to hooks in pbuilder or should I just override the test target before
dputting the packages to launchpad?