添加虚拟测试用例以及修改bug

This commit is contained in:
cuixucui 2023-11-29 16:45:25 +08:00
parent e4d83907ea
commit 98614dff9a
2 changed files with 29917 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -4,13 +4,14 @@
Name: oec-hardware
Summary: openEuler Hardware Compatibility Test Suite
Version: 1.1.5
Release: 0
Release: 1
Group: Development/Tools
License: Mulan PSL v2
URL: https://gitee.com/openeuler/oec-hardware
Source0: https://gitee.com/openeuler/oec-hardware/repository/archive/v%{version}.tar.gz
# patch fix issue
Patch0001: oec-hardware-1.1.5-1-add-virtual-branch-fix-bug.patch
Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: gcc
@ -24,7 +25,7 @@ Provides: libswsds.so()(64bit)
Summary: openEuler Hardware Compatibility Test Server
Group: Development/Tools
Requires: python3, python3-devel, python3-flask, python3-uWSGI, python3-werkzeug
Requires: nginx, tar, qperf, psmisc, dpdk, dpdk-tools, dpdk-devel, net-tools
Requires: nginx, tar, qperf, psmisc, dpdk, dpdk-tools, dpdk-devel, net-tools, perftest
%description
openEuler Hardware Compatibility Test Suite
@ -34,12 +35,13 @@ openEuler Hardware Compatibility Test Server
%prep
%setup -q -c
%patch1 -p1
%build
%ifarch x86_64 aarch64
strip tests/keycard/libswsds_%{_arch}.so
strip tests/compatible/keycard/libswsds_%{_arch}.so
%endif
sed -i '15i CFLAGS+=-g -fstack-protector-strong' tests/memory/Makefile
sed -i '15i CFLAGS+=-g -fstack-protector-strong' tests/compatible/memory/Makefile
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
DESTDIR=$RPM_BUILD_ROOT VERSION_RELEASE=%{version} make
@ -78,6 +80,13 @@ DESTDIR=$RPM_BUILD_ROOT make install
rm -rf /var/lock/oech.lock
%changelog
* Wed Nov 29 2023 cuixucui <cuixucui@h-partner.com> - 1.1.5-1
- Add virtual cases
- Resolve IB startup IB_Read_BW service failure issue
- Delete redundant references
- Resolve incorrect type in vgpu result data
- Resolve the issue of getting the kernel source rpm
* Tue Oct 24 2023 cuixucui <cuixucui@h-partner.com> - 1.1.5-0
- Add support for openEuler 20.03 LTS SP4, openEuler 22.03 LTS SP2, openEuler 22.03 LTS SP3
- Add modifications to Kylinsec with oec-hardware