diff options
author | Nicholas Guriev <nicholas@guriev.su> | 2021-04-24 23:10:31 +0300 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-05-11 13:33:48 +0200 |
commit | 5497dad962cb68c2d580584489ad1cd92e7a1053 (patch) | |
tree | 6b6f62d0f70e9d24667a145d0cd6b17b25b62e9b | |
parent | 10df92badc5906c86b07d2193afa8224fdcfa046 (diff) | |
download | ayatana-indicator-datetime-5497dad962cb68c2d580584489ad1cd92e7a1053.tar.gz ayatana-indicator-datetime-5497dad962cb68c2d580584489ad1cd92e7a1053.tar.bz2 ayatana-indicator-datetime-5497dad962cb68c2d580584489ad1cd92e7a1053.zip |
debian/rules: Run tests while building DEB package.
-rw-r--r-- | debian/control | 14 | ||||
-rwxr-xr-x | debian/rules | 2 |
2 files changed, 9 insertions, 7 deletions
diff --git a/debian/control b/debian/control index df4d39f..0ede198 100644 --- a/debian/control +++ b/debian/control @@ -19,15 +19,15 @@ Build-Depends: cmake, liblomiri-url-dispatcher-dev | hello, libproperties-cpp-dev, # for the test harness: - libgtest-dev, - libdbustest1-dev, - dbus-test-runner, - python3-dbusmock, + libgtest-dev <!nocheck>, + libdbustest1-dev <!nocheck>, + dbus-test-runner <!nocheck>, + python3-dbusmock <!nocheck>, # for 12h/24h locale unit tests: - locales, + locales <!nocheck>, # for running live EDS tests: - evolution-data-server, - gvfs-daemons, + evolution-data-server <!nocheck>, + gvfs-daemons <!nocheck>, systemd [linux-any], # for phone alarm/calendar notification sound tests: ubuntu-touch-sounds | hello, diff --git a/debian/rules b/debian/rules index 37eb8b7..0a1b6f7 100755 --- a/debian/rules +++ b/debian/rules @@ -5,8 +5,10 @@ LDFLAGS += -Wl,-z,defs -Wl,--as-needed %: dh $@ --with systemd +ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) override_dh_auto_configure: dh_auto_configure -- -Denable_tests=OFF +endif override_dh_install: dh_install --fail-missing |