diff options
author | Michael Biebl <biebl@debian.org> | 2016-03-01 21:40:02 +0100 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2016-03-01 21:40:04 +0100 |
commit | 31e9b2a3a04a1743822f14779b3ea54cb1220062 (patch) | |
tree | 1a8dc6ddf0a7f75304c5f5ce510760c22fbc16f5 /debian | |
parent | 64b413a7de98e1ea5655ac806b0a4dcffffbb89e (diff) |
Skip the test suite if "nocheck" is set via DEB_BUILD_OPTIONS
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 1 | ||||
-rwxr-xr-x | debian/rules | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 78ea3334..7c4c12b6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ network-manager-applet (1.1.91-1) UNRELEASED; urgency=medium * Rebase patches. * Fix build system to run tests on "make check". * Dump the contents of test-suite.log to stdout when the test suite fails. + * Skip the test suite if "nocheck" is set via DEB_BUILD_OPTIONS. -- Michael Biebl <biebl@debian.org> Tue, 01 Mar 2016 19:54:25 +0100 diff --git a/debian/rules b/debian/rules index f53b1515..7d208ce0 100755 --- a/debian/rules +++ b/debian/rules @@ -21,4 +21,6 @@ override_dh_install: dh_install -X.la -X.a --list-missing override_dh_auto_test: +ifeq (, $(filter nocheck, $(DEB_BUILD_OPTIONS))) make check || ( find . -name test-suite.log -exec cat {} \;; exit 1; ) +endif |