From 3162bca4b6c6efb2b2bae300f9271e67dcf950fd Mon Sep 17 00:00:00 2001 From: Qiumiao Zhang Date: Thu, 9 Mar 2023 10:44:47 +0800 Subject: [PATCH] enable make check Signed-off-by: Qiumiao Zhang --- ipxe.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/ipxe.spec b/ipxe.spec index bdc938d..6d2bebb 100644 --- a/ipxe.spec +++ b/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,6 +175,12 @@ done %endif %changelog +* Thu Mar 09 2023 zhangqiumiao - 1:1.20.1-4 +- Type:testcode +- ID:NA +- SUG:NA +- DESC:enable make check + * Wed Jun 09 2021 wangkerong - 1:1.20.1-3 - Type:bugfix - Id:NA -- Gitee