pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

u-boot-tools: ensure successful error code when running tests



Module Name:	pkgsrc-wip
Committed By:	Brook Milligan <brook%nmsu.edu@localhost>
Pushed By:	brook
Date:		Sat Jun 22 19:17:34 2024 -0600
Changeset:	488760ede2cb9f0f7e822cbefbb8eaea236e898f

Modified Files:
	u-boot-tools/Makefile

Log Message:
u-boot-tools: ensure successful error code when running tests

For now make test simply runs the tools with the -h option.  They
return a non-zero error code, which make reports.  Prevent that.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=488760ede2cb9f0f7e822cbefbb8eaea236e898f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 u-boot-tools/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diffs:
diff --git a/u-boot-tools/Makefile b/u-boot-tools/Makefile
index 6c663a3fab..a11a31f569 100644
--- a/u-boot-tools/Makefile
+++ b/u-boot-tools/Makefile
@@ -27,8 +27,8 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/doc/mkimage.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/u-boot-mkimage.1
 
 do-test:
-	${WRKSRC}/tools/dumpimage -h
-	${WRKSRC}/tools/mkimage -h
+	${WRKSRC}/tools/dumpimage -h || ${TRUE}
+	${WRKSRC}/tools/mkimage -h || ${TRUE}
 
 .include "../../devel/libuuid/buildlink3.mk"
 .include "../../security/gnutls/buildlink3.mk"


Home | Main Index | Thread Index | Old Index