enable make check
Signed-off-by: Qiumiao Zhang <zhangqiumiao1@huawei.com>
This commit is contained in:
parent
0d0b6d2330
commit
03c69b4eb3
18
ipxe.spec
18
ipxe.spec
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: ipxe
|
Name: ipxe
|
||||||
Version: 1.20.1
|
Version: 1.20.1
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: A network boot loader
|
Summary: A network boot loader
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2 with additional permissions and BSD
|
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 \
|
make_ipxe ISOLINUX_BIN=/usr/share/syslinux/isolinux.bin \
|
||||||
bin/undionly.kpxe bin/ipxe.{dsk,iso,usb,lkrn} \
|
bin/undionly.kpxe bin/ipxe.{dsk,iso,usb,lkrn} \
|
||||||
@ -143,6 +143,12 @@ for rom in %{qemuroms}; do
|
|||||||
done
|
done
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%check
|
||||||
|
%ifarch %{buildarches}
|
||||||
|
cd src/bin-x86_64-linux/
|
||||||
|
./tests.linux
|
||||||
|
%endif
|
||||||
|
|
||||||
%ifarch %{buildarches}
|
%ifarch %{buildarches}
|
||||||
%files bootimgs
|
%files bootimgs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -169,7 +175,13 @@ done
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
- Type:bugfix
|
||||||
- Id:NA
|
- Id:NA
|
||||||
- SUG:NA
|
- SUG:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user