diff --git a/fribidi.spec b/fribidi.spec index 57a0049..30e7c36 100644 --- a/fribidi.spec +++ b/fribidi.spec @@ -1,7 +1,7 @@ Summary: Library implementing the Unicode Bidirectional Algorithm Name: fribidi Version: 1.0.10 -Release: 6%{?dist} +Release: 6%{?dist}.1 URL: https://github.com/fribidi/fribidi/ Source: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz License: LGPLv2+ and UCD diff --git a/tests/basic/test.sh b/tests/basic/test.sh new file mode 100755 index 0000000..56e4b93 --- /dev/null +++ b/tests/basic/test.sh @@ -0,0 +1,12 @@ +#! /bin/sh + +# spec file runs make check or whatever +# which contains some functionality check. +# So We don't do detailed check here. +if fribidi --help > /dev/null 2>&1; then + echo PASS +else + echo FAIL + false +fi + diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..c15b842 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,11 @@ +- hosts: localhost + become: yes + tags: + - classic + roles: + - role: standard-test-basic + required_packages: + - fribidi + tests: + - basic: + run: ./test.sh