[SCM] kaccounts-integration packaging branch, master, updated. a4561713690e294f343bc9d85b9c44216c87dc0c

Diane Trout diane at moszumanska.debian.org
Sun Jul 12 06:17:00 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/kaccounts-integration.git;a=commitdiff;h=a456171

The following commit has been merged in the master branch:
commit a4561713690e294f343bc9d85b9c44216c87dc0c
Author: Diane Trout <diane at ghic.org>
Date:   Sat Jul 11 23:16:31 2015 -0700

    Add support for running unit tests.
    
    * Add support for running unit tests.
      - add xauth and xvfb to Build-Depends.
      - override_dh_auto_test to manually run ctest
        because the test kaccounts-testnetattachjobs
        configures kwallet which opens up a GUI for
        configuring, and unlocking the wallet.
        The "cd obj-*" to change to the build directory
        should be fixed.
---
 debian/changelog | 8 ++++++++
 debian/control   | 4 +++-
 debian/rules     | 3 +++
 3 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index d225120..d931e00 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,5 +10,13 @@ kaccounts-integration (15.04.3-1~) UNRELEASED; urgency=medium
 
   [ Diane Trout ]
   * New upstream release (15.04.3).
+  * Add support for running unit tests.
+    - add xauth and xvfb to Build-Depends.
+    - override_dh_auto_test to manually run ctest
+      because the test kaccounts-testnetattachjobs
+      configures kwallet which opens up a GUI for
+      configuring, and unlocking the wallet.
+      The "cd obj-*" to change to the build directory
+      should be fixed.
 
  -- Diane Trout <diane at debian.org>  Mon, 06 Jul 2015 21:36:13 -0700
diff --git a/debian/control b/debian/control
index 108d3d8..82fcf29 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,9 @@ Build-Depends: cmake (>= 2.8.12~),
                libkf5widgetsaddons-dev (>= 5.0.0~),
                libsignon-qt5-dev (>= 8.55~),
                pkg-kde-tools (>> 0.15.15),
-               qtbase5-dev (>= 5.4)
+               qtbase5-dev (>= 5.4),
+               xauth,
+               xvfb
 Standards-Version: 3.9.6
 XS-Testsuite: autopkgtest
 Homepage: https://projects.kde.org/projects/kde/kdenetwork/kaccounts-integration
diff --git a/debian/rules b/debian/rules
index 8731286..9263362 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,6 @@ include /usr/share/pkg-kde-tools/qt-kde-team/3/debian-qt-kde.mk
 
 override_dh_strip:
 	$(overridden_command) --dbg-package=kaccounts-integration-dbg
+
+override_dh_auto_test:
+	cd obj-* ; xvfb-run -a ctest -E kaccounts-testnetattachjobs

-- 
kaccounts-integration packaging



More information about the pkg-kde-commits mailing list