Compare commits
No commits in common. "rawhide" and "f43" have entirely different histories.
6 changed files with 27 additions and 32 deletions
|
|
@ -1 +0,0 @@
|
|||
1
|
||||
|
|
@ -7,6 +7,7 @@ Summary: D-Bus service for Fingerprint reader access
|
|||
License: GPL-2.0-or-later AND GFDL-1.1-or-later
|
||||
Source0: https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/v%{version}/fprintd-v%{version}.tar.gz
|
||||
Url: http://www.freedesktop.org/wiki/Software/fprint/fprintd
|
||||
ExcludeArch: s390 s390x
|
||||
|
||||
BuildRequires: meson
|
||||
BuildRequires: gcc
|
||||
|
|
|
|||
19
plans.fmf
19
plans.fmf
|
|
@ -1,19 +0,0 @@
|
|||
summary: Run all tests
|
||||
discover:
|
||||
how: fmf
|
||||
dist-git-source: true
|
||||
dist-git-merge: true
|
||||
prepare:
|
||||
- name: Disable installing everything from srpm
|
||||
how: install
|
||||
exclude: ".*"
|
||||
- name: Install the main package
|
||||
how: install
|
||||
package:
|
||||
- fprintd
|
||||
- name: "%prep requires git"
|
||||
how: install
|
||||
package:
|
||||
- git
|
||||
execute:
|
||||
how: tmt
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
/fprintd:
|
||||
summary: Run fprintd.py
|
||||
test: ./run.sh ./fprintd.py
|
||||
require:
|
||||
- python3-gobject-base
|
||||
- python3-dbus
|
||||
- python3-cairo
|
||||
- dbus-daemon
|
||||
- python3-dbusmock
|
||||
duration: 10m
|
||||
|
|
@ -10,7 +10,7 @@ if [[ "$ID" = *"rhel"* ]] && [[ "$VERSION_ID" == *"8"* ]]; then
|
|||
fi
|
||||
|
||||
# Switch into the tests directory
|
||||
cd ../fprintd-*/tests || exit 1
|
||||
cd source/tests || exit 1
|
||||
|
||||
# Run actual test
|
||||
exec python3 "$@"
|
||||
exec python3 "$@"
|
||||
24
tests/tests.yml
Normal file
24
tests/tests.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-source
|
||||
tags:
|
||||
- always
|
||||
required_packages:
|
||||
- git
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- atomic
|
||||
- classic
|
||||
required_packages:
|
||||
- fprintd
|
||||
- python3-gobject-base
|
||||
- python3-dbus
|
||||
- python3-cairo
|
||||
- dbus-daemon
|
||||
- python3-dbusmock
|
||||
tests:
|
||||
- fprintd:
|
||||
dir: .
|
||||
run: run.sh ./fprintd.py
|
||||
timeout: 10m
|
||||
Loading…
Add table
Add a link
Reference in a new issue