From 0d2116e0f5971896cbffd6532aba3423b301058d Mon Sep 17 00:00:00 2001 From: Luis Araujo <luis.araujo@collabora.co.uk> Date: Wed, 1 Mar 2017 01:28:15 +0800 Subject: [PATCH] Add traprain debian autopkgtest This commit adds the debian autopkgtest to execute the traprain tests using gnome-desktop-testing-runner Signed-off-by: Luis Araujo <luis.araujo@collabora.co.uk> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Differential Revision: https://phabricator.apertis.org/D6034 --- debian/tests/control | 2 ++ debian/tests/gnome-desktop-testing | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 debian/tests/control create mode 100755 debian/tests/gnome-desktop-testing diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..d8904ff --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,2 @@ +Tests: gnome-desktop-testing +Depends: gnome-desktop-testing, libtraprain-0-tests diff --git a/debian/tests/gnome-desktop-testing b/debian/tests/gnome-desktop-testing new file mode 100755 index 0000000..ca7cc9b --- /dev/null +++ b/debian/tests/gnome-desktop-testing @@ -0,0 +1,14 @@ +#!/bin/sh + +# Copyright © 2017 Collabora Ltd. +# +# SPDX-License-Identifier: MPL-2.0 +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +set -e + +exec 2>&1 + +exec gnome-desktop-testing-runner traprain-0 -- GitLab