From 4e6a14fd989a9b49526f28a400df9871ac094198 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Thu, 29 Jun 2023 18:11:12 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- .gitignore | 1 - tests/scripts/run_tests.sh | 7 +++++++ tests/tests.yml | 9 +++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100755 tests/scripts/run_tests.sh create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore index 6a972f7..72e71a2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -SOURCES/libreoffice-voikko-5.0.tar.gz /libreoffice-voikko-5.0.tar.gz diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh new file mode 100755 index 0000000..45df31f --- /dev/null +++ b/tests/scripts/run_tests.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# Check whether the libreoffice-voikko extension is installed. +# exit with 0 if yes, exit with 1 if no: + +unopkg list --bundled | grep 'Identifier.*voikko' +exit $? diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..aaf3946 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,9 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - simple: + dir: scripts/ + run: ./run_tests.sh