Add CI test
Resolves: rhbz#2005186
This commit is contained in:
parent
7b8b8db4b0
commit
59d538d699
@ -1,7 +1,7 @@
|
|||||||
Summary: Library implementing the Unicode Bidirectional Algorithm
|
Summary: Library implementing the Unicode Bidirectional Algorithm
|
||||||
Name: fribidi
|
Name: fribidi
|
||||||
Version: 1.0.10
|
Version: 1.0.10
|
||||||
Release: 6%{?dist}
|
Release: 6%{?dist}.1
|
||||||
URL: https://github.com/fribidi/fribidi/
|
URL: https://github.com/fribidi/fribidi/
|
||||||
Source: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
Source: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
||||||
License: LGPLv2+ and UCD
|
License: LGPLv2+ and UCD
|
||||||
|
12
tests/basic/test.sh
Executable file
12
tests/basic/test.sh
Executable file
@ -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
|
||||||
|
|
11
tests/tests.yml
Normal file
11
tests/tests.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
become: yes
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
required_packages:
|
||||||
|
- fribidi
|
||||||
|
tests:
|
||||||
|
- basic:
|
||||||
|
run: ./test.sh
|
Loading…
Reference in New Issue
Block a user