Add (untested) autopkgtest to run installed-tests

git-svn-id: file:///svn/pkg-evolution/experimental/evolution@3153 ed03ce00-e4f4-0310-9448-ee38221cb277
This commit is contained in:
Jeremy Bicha
2017-05-05 17:17:17 +00:00
parent bf208731c3
commit 173abfad75
3 changed files with 14 additions and 0 deletions

1
debian/changelog vendored
View File

@ -4,6 +4,7 @@ evolution (3.24.1-1) UNRELEASED; urgency=medium
- 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

3
debian/tests/control vendored Normal file
View File

@ -0,0 +1,3 @@
Tests: installed-tests
Restrictions: needs-root, allow-stderr
Depends: evolution-tests, evolution, dbus (>= 1.8), xauth, xfvb, gnome-desktop-testing

10
debian/tests/installed-tests vendored Normal file
View File

@ -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@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