On Sun, 2013-03-17 at 19:58:23 +0100, bastien ROUCARIES wrote:
> Package: debhelper
> Version: 9.20120909
> Severity: whishlist
> 
> My package is ok to be cross compiled, but test suite can not be run if
> cross compiling.

> Thus I use a fragment like this:
> if test "$(DEB_HOST_GNU_TYPE)" = "$(DEB_BUILD_GNU_TYPE)"; then \
>           dh_auto_test; \
> fi
> 
> I think it will better if included in directly in dh_auto_test.

Personally I don't use dh, but I think if something like this is
needed, it would better be fixed in the upstream build system, so
that other systems can benefit from it too. Also there's already
a way to globally disable test suites, DEB_BUILD_OPTIONS=nocheck,
which can be used when cross-compiling too.

Thanks,
Guillem


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to