[Pkg-owncloud-commits] [owncloud-client] 01/04: Activated unit tests.

Sandro Knauß hefee-guest at moszumanska.debian.org
Fri Dec 27 18:54:45 UTC 2013


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 5fd4189006ee85c1080842090e011bbb7fbd1748
Author: Sandro Knauß <bugs at sandroknauss.de>
Date:   Fri Dec 27 19:29:23 2013 +0100

    Activated unit tests.
---
 debian/control          | 1 +
 debian/rules            | 4 ++--
 debian/tests/control    | 2 ++
 debian/tests/make-tests | 2 ++
 4 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 7a9935b..68975aa 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends: debhelper (>= 9), cmake, libqt4-dev, pkg-kde-tools, python-sphinx
  qt4-dev-tools, libqtwebkit-dev,  kdelibs5-dev, libocsync-dev (>= 0.91.4), qtkeychain-dev, libneon27-gnutls-dev,
  libinotify-dev [kfreebsd-any]
 Build-Depends-Indep: texlive-latex-recommended, texlive-latex-extra, texlive-fonts-recommended, xsltproc
+XS-Testsuite: autopkgtest
 Vcs-Git: git://anonscm.debian.org/pkg-owncloud/owncloud-client.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-owncloud/owncloud-client.git
 Standards-Version: 3.9.5
diff --git a/debian/rules b/debian/rules
index 8d4019d..ce2b641 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,10 +9,10 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
 # Only do this for an indep build
 
 override_dh_auto_configure-arch:
-	dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr
+	dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr -DUNIT_TESTING=ON
 
 override_dh_auto_configure-indep:
-	dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr -DWITH_DOC=ON
+	dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr -DWITH_DOC=ON -DUNIT_TESTING=ON
 
 override_dh_sphinxdoc-arch:
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..f33bfb4
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: make-test
+Restrictions: build-needed
diff --git a/debian/tests/make-tests b/debian/tests/make-tests
new file mode 100755
index 0000000..9d4f8a6
--- /dev/null
+++ b/debian/tests/make-tests
@@ -0,0 +1,2 @@
+#! /bin/sh
+make tests

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list