Update to upstream release 23.04.0.0.23
Update package and add gating tests Resolves: rhbz#2212517 Signed-off-by: Kamal Heib <kheib@redhat.com>
This commit is contained in:
parent
e7d48984f4
commit
cdc2a019b3
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
SOURCES/perftest-4.5-0.20.gac7cca5.tar.gz
|
||||
/perftest-4.5-0.20.gac7cca5.tar.gz
|
||||
/perftest-23.04.0-0.23.g63e250f.tar.gz
|
||||
|
@ -3,11 +3,11 @@ Summary: IB Performance Tests
|
||||
# Upstream uses a dash in the version. Not valid in the Version field, so we use a dot instead.
|
||||
# Issue "Please avoid dashes in version":
|
||||
# https://github.com/linux-rdma/perftest/issues/18
|
||||
%global upstream_ver 4.5-0.20
|
||||
%global upstream_ver 23.04.0-0.23
|
||||
Version: %{lua: print((string.gsub(rpm.expand("%{upstream_ver}"),"-",".")))}
|
||||
Release: 4%{?dist}
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2 or BSD
|
||||
Source: https://github.com/linux-rdma/perftest/releases/download/v4.5-0.20/perftest-4.5-0.20.gac7cca5.tar.gz
|
||||
Source: https://github.com/linux-rdma/perftest/releases/download/23.04.0-0.23/perftest-23.04.0-0.23.g63e250f.tar.gz
|
||||
Source1: ib_atomic_bw.1
|
||||
Url: https://github.com/linux-rdma/perftest
|
||||
|
||||
@ -55,6 +55,11 @@ popd
|
||||
%_bindir/*
|
||||
|
||||
%changelog
|
||||
* Mon Jun 05 2023 Kamal Heib <kheib@redhat.com> - 23.04.0.0.23-1
|
||||
- Update to upstream release 23.04.0.0.23
|
||||
- Add gating tests
|
||||
- Resolves: rhbz#2212517
|
||||
|
||||
* Wed Feb 08 2023 Michal Schmidt <mschmidt@redhat.com> - 4.5.0.20-4
|
||||
- Rebase to upstream version 4.5-0.20
|
||||
- Resolves: rhbz#2168109
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (perftest-4.5-0.20.gac7cca5.tar.gz) = fa2a0ca4487134081b178576a0997476c60228847f13142d069d77c7ca69bb8634fd980a6c8e07741029dead677b4a4d0758521adaba046fb2bc2ce3b496ec82
|
||||
SHA512 (perftest-23.04.0-0.23.g63e250f.tar.gz) = d1c7c27c3d8463e7172fc5ae308bf639eb8c772e7652a5c398bca56968ea8cc93f610fc09c466f66c7641362d05ab9f43c9a0eff3dcdfb58ecd723353c3c60a9
|
||||
|
10
tests/run_tests.sh
Executable file
10
tests/run_tests.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# when running this in 1minutetip the PATH must be specified to execute
|
||||
# in the local directory.
|
||||
echo "Setting path to local directory"
|
||||
PATH=$PATH:$(pwd)
|
||||
|
||||
# simple sanity test
|
||||
sanity.sh
|
||||
exit $?
|
15
tests/sanity.sh
Executable file
15
tests/sanity.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# This is a simple sanity test to satisfy the RHEL8.1 onboard gating
|
||||
# requirement.
|
||||
|
||||
ib_atomic_bw --version
|
||||
ret=$?
|
||||
|
||||
# for reasons I have not investigated, at least on hosts without any rdma
|
||||
# hardware, the above returns 1 instead of 0 (as does --help)
|
||||
if [ "$ret" -eq 1 ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exit $ret
|
11
tests/tests.yml
Normal file
11
tests/tests.yml
Normal file
@ -0,0 +1,11 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
- simple:
|
||||
dir: . # switch to subfolder. This parameter is REQUIRED, use `dir: .` for current folder
|
||||
run: ./run_tests.sh # this is your test command, its exit code is the outcome of the test
|
||||
required_packages:
|
||||
- perftest
|
Loading…
Reference in New Issue
Block a user