On Tue, 2016-10-04 at 10:55 +0200, Jakub Wilk wrote: > * Svante Signell <svante.sign...@gmail.com>, 2016-10-04, 08:54: > > > > From memory I think this is due to usage of the default rule: > > %: > > dh $@ > > > > with no override_dh_auto_build and override_dh_auto_test rules. By default > > the > > tests are run under fakeroot, > No, they're not.
Maybe the are not run by default. However, as I wrote I've encountered packages where the tests are run under fakeroot (and openmpi seems to be another one). Maybe you know exactly why it happens for these packages, I don't remember right now? It is definitely related to the dh_* tools.