From 741bb24348c419d7bed6de5a0b4355b9047b108b Mon Sep 17 00:00:00 2001 From: Luis Araujo <luis.araujo@collabora.co.uk> Date: Fri, 3 Mar 2017 01:39:02 +0800 Subject: [PATCH] Add rhosydd test definition This LAVA test definition executes the rhosydd tests using autopkgtest from its debian package. Signed-off-by: Luis Araujo <luis.araujo@collabora.co.uk> Reviewed-by: Emanuele Aina <emanuele.aina@collabora.com> Differential Revision: https://phabricator.apertis.org/D6110 --- modules/rhosydd.yaml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 modules/rhosydd.yaml diff --git a/modules/rhosydd.yaml b/modules/rhosydd.yaml new file mode 100644 index 00000000..7fbf210b --- /dev/null +++ b/modules/rhosydd.yaml @@ -0,0 +1,39 @@ +metadata: + name: rhosydd + format: "Lava-Test-Shell Test Definition 1.0" + description: "Rhosydd module test." + maintainer: "luis.araujo@collabora.co.uk" + scope: + - functional + environment: + - lava-test-shell + +install: + deps: + - build-essential + - devscripts + - dpkg-dev + - gnome-desktop-testing + - libcroesor-0-dev + - libcroesor-0-tests + - librhosydd-0-dev + - librhosydd-0-tests + - python3-debian + - rhosydd-tests + - rhosydd-tools + steps: + # Download in /tmp directory + - cd /tmp/ + - apt source rhosydd + - chown user:user -R /tmp/rhosydd-* + +run: + steps: + - common/run-test-in-systemd --timeout=900 --chdir /tmp/rhosydd-* --user=user --name=rhosydd -- sadt --verbose + +parse: + pattern: '^(?P<test_case_id>[a-zA-Z0-9_\-\./]+)\s...\s(?P<result>ok|FAIL|SKIP)' + fixupdict: + ok: pass + FAIL: fail + SKIP: skip -- GitLab