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