!34 enable make check
From: @zhangqiumiao Reviewed-by: @anonymous_z Signed-off-by: @anonymous_z
This commit is contained in:
commit
3b620f6db9
18
ipxe.spec
18
ipxe.spec
@ -5,7 +5,7 @@
|
||||
|
||||
Name: ipxe
|
||||
Version: 1.20.1
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: A network boot loader
|
||||
Epoch: 1
|
||||
License: GPLv2 with additional permissions and BSD
|
||||
@ -85,7 +85,7 @@ 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
|
||||
|
||||
make_ipxe ISOLINUX_BIN=/usr/share/syslinux/isolinux.bin \
|
||||
bin/undionly.kpxe bin/ipxe.{dsk,iso,usb,lkrn} \
|
||||
@ -143,6 +143,12 @@ for rom in %{qemuroms}; do
|
||||
done
|
||||
%endif
|
||||
|
||||
%check
|
||||
%ifarch %{buildarches}
|
||||
cd src/bin-x86_64-linux/
|
||||
./tests.linux
|
||||
%endif
|
||||
|
||||
%ifarch %{buildarches}
|
||||
%files bootimgs
|
||||
%defattr(-,root,root)
|
||||
@ -169,7 +175,13 @@ done
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Jun 09 2021 wangkeorng <wangkerong@huawei.com> - 1:1.20.1-3
|
||||
* Thu Mar 09 2023 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:1.20.1-4
|
||||
- Type:testcode
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:enable make check
|
||||
|
||||
* Wed Jun 09 2021 wangkerong <wangkerong@huawei.com> - 1:1.20.1-3
|
||||
- Type:bugfix
|
||||
- Id:NA
|
||||
- SUG:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user