Fixed tier0 test build process to work with 2.1.1:
- autogen must be used to generate configure script - get_module and get_device need so be specified as targets Resolves: rhbz#1975886 Signed-off-by: Chris White <chwhite@redhat.com>
This commit is contained in:
parent
2ce706da90
commit
afe76608e0
@ -4,7 +4,7 @@
|
||||
|
||||
Name: sysfsutils
|
||||
Version: 2.1.1
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Summary: Utilities for interfacing with sysfs
|
||||
URL: https://github.com/linux-ras/sysfsutils
|
||||
License: GPLv2
|
||||
@ -71,6 +71,9 @@ find %{buildroot} -type f -name "*.la" -delete
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 23 2021 Chris White <chwhite@redhat.com> - 2.1.1-
|
||||
- Fixed tier0 test build process to work with 2.1.1. Resolves: rhbz#1975886
|
||||
|
||||
* Mon Aug 16 2021 Chris White <chwhite@redhat.com> - 2.1.1-8
|
||||
- Renamed tests/tests.yaml to tests/test.yml. Resolves: rhbz#1975886
|
||||
|
||||
|
||||
@ -1,14 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Get to the test directory
|
||||
## Get to the test directory
|
||||
cd ../source/
|
||||
|
||||
#build the source tree to get the tests
|
||||
echo "Building test out of $(pwd):"
|
||||
./autogen
|
||||
./configure
|
||||
make
|
||||
|
||||
#go to the test directory
|
||||
cd test
|
||||
make get_module
|
||||
make get_device
|
||||
|
||||
#run the get_module test on every loaded module, if any command exits non-zero,
|
||||
#fail the test
|
||||
@ -45,4 +49,3 @@ done
|
||||
|
||||
#If we get here all tests passed, exit 0
|
||||
exit 0
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user