The Debian automatic build machines don't save any files from the build,
but they do preserve the build log, so dumping it to stdout is the only
reasonable way to get test failure information.
build-arch-stamp: configure-stamp
$(MAKE) -C _debian
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- $(MAKE) -C _debian check
+ if $(MAKE) -C _debian check; then :; else \
+ cat _debian/tests/testsuite.log; \
+ exit 1; \
+ fi
endif
touch $@