r3153 - in /experimental/evolution/debian: changelog tests/ tests/control tests/installed-tests

jbicha-guest at users.alioth.debian.org jbicha-guest at users.alioth.debian.org
Fri May 5 17:17:17 UTC 2017


Author: jbicha-guest
Date: Fri May  5 17:17:17 2017
New Revision: 3153

URL: http://svn.debian.org/wsvn/pkg-evolution/?sc=1&rev=3153
Log:
Add (untested) autopkgtest to run installed-tests

Added:
    experimental/evolution/debian/tests/
    experimental/evolution/debian/tests/control
    experimental/evolution/debian/tests/installed-tests
Modified:
    experimental/evolution/debian/changelog

Modified: experimental/evolution/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-evolution/experimental/evolution/debian/changelog?rev=3153&op=diff
==============================================================================
--- experimental/evolution/debian/changelog	(original)
+++ experimental/evolution/debian/changelog	Fri May  5 17:17:17 2017
@@ -4,6 +4,7 @@
     - Switch from autotools to cmake
   * Bump e-d-s dependencies and build-dependencies to 3.24.1
   * Add evolution-tests package for installed tests
+  * Add autopkgtest to run installed-tests
   * Split bogofilter, pstimport, and spamassassin support into separate
     packages so that they can be individually installed or uninstalled by
     appstream clients

Added: experimental/evolution/debian/tests/control
URL: http://svn.debian.org/wsvn/pkg-evolution/experimental/evolution/debian/tests/control?rev=3153&op=file
==============================================================================
--- experimental/evolution/debian/tests/control	(added)
+++ experimental/evolution/debian/tests/control	Fri May  5 17:17:17 2017
@@ -0,0 +1,3 @@
+Tests: installed-tests
+Restrictions: needs-root, allow-stderr
+Depends: evolution-tests, evolution, dbus (>= 1.8), xauth, xfvb, gnome-desktop-testing

Added: experimental/evolution/debian/tests/installed-tests
URL: http://svn.debian.org/wsvn/pkg-evolution/experimental/evolution/debian/tests/installed-tests?rev=3153&op=file
==============================================================================
--- experimental/evolution/debian/tests/installed-tests	(added)
+++ experimental/evolution/debian/tests/installed-tests	Fri May  5 17:17:17 2017
@@ -0,0 +1,10 @@
+#!/bin/bash
+# autopkgtest check: Run the installed-tests to verify gjs works correctly
+# (C) 2013-2015 Canonical Ltd.
+# Author: Iain Lane <iain.lane at canonical.com>
+set -e
+
+export XDG_RUNTIME_DIR=$ADTTMP
+
+# dbus outputs activation messages to stderr which fails the test
+dbus-run-session -- xvfb-run -a gnome-desktop-testing-runner evolution 2> >(grep -vE '^(Activating|Successfully activated)')>&2




More information about the pkg-evolution-commits mailing list