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

From: @cuixucui 
Reviewed-by: @ygn-ndwd-official 
Signed-off-by: @ygn-ndwd-official
This commit is contained in:
openeuler-ci-bot 2023-12-11 07:18:41 +00:00 committed by Gitee
commit beb590336e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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 Name: oec-hardware
Summary: openEuler Hardware Compatibility Test Suite Summary: openEuler Hardware Compatibility Test Suite
Version: 1.1.5 Version: 1.1.5
Release: 0 Release: 1
Group: Development/Tools Group: Development/Tools
License: Mulan PSL v2 License: Mulan PSL v2
URL: https://gitee.com/openeuler/oec-hardware URL: https://gitee.com/openeuler/oec-hardware
Source0: https://gitee.com/openeuler/oec-hardware/repository/archive/v%{version}.tar.gz Source0: https://gitee.com/openeuler/oec-hardware/repository/archive/v%{version}.tar.gz
# patch fix issue # patch fix issue
Patch0001: oec-hardware-1.1.5-1-add-virtual-branch-fix-bug.patch
Buildroot: %{_tmppath}/%{name}-%{version}-root Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: gcc BuildRequires: gcc
@ -24,7 +25,7 @@ Provides: libswsds.so()(64bit)
Summary: openEuler Hardware Compatibility Test Server Summary: openEuler Hardware Compatibility Test Server
Group: Development/Tools Group: Development/Tools
Requires: python3, python3-devel, python3-flask, python3-uWSGI, python3-werkzeug 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 %description
openEuler Hardware Compatibility Test Suite openEuler Hardware Compatibility Test Suite
@ -34,12 +35,13 @@ openEuler Hardware Compatibility Test Server
%prep %prep
%setup -q -c %setup -q -c
%patch1 -p1
%build %build
%ifarch x86_64 aarch64 %ifarch x86_64 aarch64
strip tests/keycard/libswsds_%{_arch}.so strip tests/compatible/keycard/libswsds_%{_arch}.so
%endif %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; [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
DESTDIR=$RPM_BUILD_ROOT VERSION_RELEASE=%{version} make DESTDIR=$RPM_BUILD_ROOT VERSION_RELEASE=%{version} make
@ -78,6 +80,13 @@ DESTDIR=$RPM_BUILD_ROOT make install
rm -rf /var/lock/oech.lock rm -rf /var/lock/oech.lock
%changelog %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 * 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 support for openEuler 20.03 LTS SP4, openEuler 22.03 LTS SP2, openEuler 22.03 LTS SP3
- Add modifications to Kylinsec with oec-hardware - Add modifications to Kylinsec with oec-hardware