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:
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -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
3
debian/tests/control
vendored
Normal 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
10
debian/tests/installed-tests
vendored
Normal 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
|
Reference in New Issue
Block a user