!21 [sync] PR-19: enable test
From: @openeuler-sync-bot Reviewed-by: @t_feng Signed-off-by: @t_feng
This commit is contained in:
commit
3007afe5b1
20
ipxe.spec
20
ipxe.spec
@ -6,7 +6,7 @@
|
||||
|
||||
Name: ipxe
|
||||
Version: 1.21.1
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: A network boot loader
|
||||
Epoch: 1
|
||||
License: GPLv2 with additional permissions and BSD
|
||||
@ -86,7 +86,10 @@ make_ipxe() {
|
||||
"$@"
|
||||
}
|
||||
|
||||
make_ipxe bin-i386-efi/ipxe.efi bin-x86_64-efi/ipxe.efi
|
||||
make_ipxe bin-i386-efi/ipxe.efi bin-x86_64-efi/ipxe.efi bin-x86_64-linux/tests.linux \
|
||||
%if 0%{?enable i386}
|
||||
bin-i386-linux/tests.linux
|
||||
%endif
|
||||
|
||||
make_ipxe ISOLINUX_BIN=/usr/share/syslinux/isolinux.bin \
|
||||
bin/undionly.kpxe bin/ipxe.{dsk,iso,usb,lkrn} \
|
||||
@ -148,6 +151,16 @@ for rom in %{qemuroms}; do
|
||||
done
|
||||
%endif
|
||||
|
||||
%check
|
||||
%ifarch %{buildarches}
|
||||
cd ~/rpmbuild/BUILD/%{name}-%{version}/src/bin-x86_64-linux/
|
||||
./tests.linux
|
||||
%if 0%{?enable_i386}
|
||||
cd ~/rpmbuild/BUILD/%{name}-%{version}/src/bin-i386-linux/
|
||||
./tests.linux
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%ifarch %{buildarches}
|
||||
%files bootimgs
|
||||
%defattr(-,root,root)
|
||||
@ -174,6 +187,9 @@ done
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sat Mar 26 2022 wangkerong <wangkerong@h-partners.com> - 1.21.1-3
|
||||
- enable test
|
||||
|
||||
* Wed Jun 09 2021 wangkerong <wangkerong@huawei.com> - 1.21.1-2
|
||||
- Type:bugfix
|
||||
- Id:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user