9
0
Fork 0

debian/rules: show testsuite.log when tests are failing

Change-Id: I30151897d621a1428095006e1f0e8a47059de4cd
This commit is contained in:
Neels Hofmeyr 2017-10-25 16:52:48 +02:00 committed by Neels Hofmeyr
parent 577c268b96
commit e18b34143c
1 changed files with 3 additions and 0 deletions

3
debian/rules vendored
View File

@ -27,3 +27,6 @@ override_dh_auto_configure:
echo $(VERSION) > openbsc/.tarball-version
dh_auto_configure --sourcedirectory=openbsc -- --enable-nat --enable-osmo-bsc --enable-smpp
# Print test results in case of a failure
override_dh_auto_test:
dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)