From 06250c3d6bec23769ff8fbd770be9e198ef4d16d Mon Sep 17 00:00:00 2001 From: Jan Friesse Date: Mon, 20 Mar 2023 15:46:52 +0100 Subject: [PATCH] Add missing tests Signed-off-by: Jan Friesse --- .gitignore | 8 ++++++-- tests/.gitignore | 3 +++ tests/tests.yml | 9 +++++++++ tests/upstream/runtest.sh | 6 ++++++ 4 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 tests/.gitignore create mode 100644 tests/tests.yml create mode 100644 tests/upstream/runtest.sh diff --git a/.gitignore b/.gitignore index c8af109..26f1320 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ -SOURCES/booth-1.0-283-9d4029a.tar.gz -/booth-1.0-283-9d4029a.tar.gz +/booth-*.tar.gz +/booth-*.rpm +/booth-*/ + +*~ +*.sw? diff --git a/tests/.gitignore b/tests/.gitignore new file mode 100644 index 0000000..e6c79fd --- /dev/null +++ b/tests/.gitignore @@ -0,0 +1,3 @@ +# Ignore tests runs/artefacts. +artifacts/** +**/*.retry diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..8ee75ea --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,9 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - upstream + required_packages: + - booth-test diff --git a/tests/upstream/runtest.sh b/tests/upstream/runtest.sh new file mode 100644 index 0000000..0321369 --- /dev/null +++ b/tests/upstream/runtest.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +set -xe +set -o pipefail + +/usr/share/booth/tests/test/runtests.py --allow-root-user