Oh, I see it now. Nevermind. The call to "pkgos-dh_auto_test" is already enclosed inside
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) pkgos-dh_auto_test [...] endif That was exactly the patch I was going to propose... I guess the things you do in override_dh_install before that are required for the tests to work, otherwise I suppose you would have just moved the tests to dh_auto_test. Thanks.

