Update to 1.0.29 and migrate to tmt test
1. Update to the upstream version 1.0.29 2. Migrate to the tmt test Resolves: RHEL-116687
This commit is contained in:
parent
f423b5c821
commit
a503376ec2
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
||||
/libusb-1.0.26.tar.bz2
|
||||
/libusb-1.0.27.tar.bz2
|
||||
/libusb-1.0.28.tar.bz2
|
||||
/libusb-1.0.29.tar.bz2
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Summary: Library for accessing USB devices
|
||||
Name: libusb1
|
||||
Version: 1.0.28
|
||||
Version: 1.0.29
|
||||
Release: %autorelease
|
||||
Source0: https://github.com/libusb/libusb/releases/download/v%{version}/libusb-%{version}.tar.bz2
|
||||
License: LGPL-2.1-or-later
|
||||
@ -61,11 +61,9 @@ This package contains tests and examples for %{name}.
|
||||
chmod -x examples/*.c
|
||||
mkdir -p m4
|
||||
sed -i '/AM_LDFLAGS = -static/d' tests/Makefile.am
|
||||
%if 0%{?rhel} < 11
|
||||
aclocal
|
||||
autoconf
|
||||
automake --add-missing
|
||||
%endif
|
||||
|
||||
|
||||
%build
|
||||
|
||||
11
plans/integration.fmf
Normal file
11
plans/integration.fmf
Normal file
@ -0,0 +1,11 @@
|
||||
summary: Basic libusb test
|
||||
discover:
|
||||
how: fmf
|
||||
prepare:
|
||||
- name: packages
|
||||
how: install
|
||||
package:
|
||||
- glibc-common
|
||||
- libusb1-tests-examples
|
||||
execute:
|
||||
how: tmt
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (libusb-1.0.28.tar.bz2) = 0f4efa6b54e6195d2e5446652c2dc07358583e205d63bf438c4409511b8637d1700a71268c40499755747827d23cc730d9122267386f847bf781993c045c519f
|
||||
SHA512 (libusb-1.0.29.tar.bz2) = 04f8bda8197c9ecf52709609b8fbfea762fd82ddb5cde153a7630b0e8ed557d42da8cbc44f2f593aa22fdd0762e16716300565d67adb0c5240d7f3723321f690
|
||||
|
||||
3
tests/integration/main.fmf
Normal file
3
tests/integration/main.fmf
Normal file
@ -0,0 +1,3 @@
|
||||
summary:
|
||||
Test for libusb1
|
||||
test: bash ./run.sh
|
||||
@ -1,9 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
|
||||
ldd /usr/bin/libusb-test-stress
|
||||
/usr/bin/libusb-test-stress
|
||||
/usr/bin/libusb-test-umockdev
|
||||
/usr/bin/libusb-test-libusb
|
||||
/usr/bin/libusb-example-listdevs
|
||||
|
||||
@ -1,13 +0,0 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
roles:
|
||||
# Running these tests does not require the sources
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- atomic
|
||||
- classic
|
||||
tests:
|
||||
- test:
|
||||
dir: .
|
||||
run: run.sh
|
||||
|
||||
Loading…
Reference in New Issue
Block a user