Debian: print test results in case of failure + clean-up autotest

Change-Id: Id912a106d42bbd9d2ad89b67d16d52cb2344eb6d
This commit is contained in:
Harald Welte 2017-10-29 11:39:26 +01:00
parent f826e8ab2b
commit 9dab1baef8
1 changed files with 9 additions and 0 deletions

9
debian/rules vendored
View File

@ -17,3 +17,12 @@ override_dh_strip:
override_dh_autoreconf:
echo $(VERSION) > .tarball-version
dh_autoreconf
override_dh_clean:
dh_clean
$(RM) tests/package.m4
$(RM) test/testsuite
# Print test results in case of a failure
override_dh_auto_test:
dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)