diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/libusb-compat-0.1.spec b/libusb-compat-0.1.spec index 6e1d9e9..90ad4e5 100644 --- a/libusb-compat-0.1.spec +++ b/libusb-compat-0.1.spec @@ -2,7 +2,8 @@ Name: libusb-compat-0.1 Version: 0.1.8 Release: %autorelease Summary: Compatibility shim around libusb-1.0 offering the old 0.1 API -License: LGPLv2+ +# Automatically converted from old format: LGPLv2+ - review is highly recommended. +License: LicenseRef-Callaway-LGPLv2+ URL: https://github.com/libusb/libusb-compat-0.1 Source0: https://github.com/libusb/libusb-compat-0.1/releases/download/v%{version}/libusb-compat-%{version}.tar.bz2 Patch0: libusb-config-multilib.patch diff --git a/plans/integration.fmf b/plans/integration.fmf new file mode 100644 index 0000000..c427c9e --- /dev/null +++ b/plans/integration.fmf @@ -0,0 +1,5 @@ +summary: Tests for libusb-compat-0.1 +discover: + how: fmf +execute: + how: tmt diff --git a/tests/integration/main.fmf b/tests/integration/main.fmf new file mode 100644 index 0000000..d3f0b3f --- /dev/null +++ b/tests/integration/main.fmf @@ -0,0 +1,6 @@ +summary: Integration test of libusb-compat-0.1 +require: + - libusb1-devel + - libusb-compat-0.1-tests-examples +test: bash ./run.sh + diff --git a/tests/run.sh b/tests/integration/run.sh similarity index 100% rename from tests/run.sh rename to tests/integration/run.sh diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index dbb25fd..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- hosts: localhost - roles: - # We don't need standard-test-source, and it would need things for %prep - - role: standard-test-basic - tags: - - atomic - - classic - tests: - - test: - dir: . - run: run.sh -