Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg/lib/pixman/test add a 'check' target to ru...



details:   https://anonhg.NetBSD.org/src/rev/e7e955464d21
branches:  trunk
changeset: 372318:e7e955464d21
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Nov 13 21:57:12 2022 +0000

description:
add a 'check' target to run the tests (needs to be on the same arch as host.)

diffstat:

 external/mit/xorg/lib/pixman/test/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 4bfc234d6b0c -r e7e955464d21 external/mit/xorg/lib/pixman/test/Makefile
--- a/external/mit/xorg/lib/pixman/test/Makefile        Sun Nov 13 21:22:13 2022 +0000
+++ b/external/mit/xorg/lib/pixman/test/Makefile        Sun Nov 13 21:57:12 2022 +0000
@@ -1,5 +1,5 @@
 
-#      $NetBSD: Makefile,v 1.1 2022/11/13 09:36:37 mrg Exp $
+#      $NetBSD: Makefile,v 1.2 2022/11/13 21:57:12 mrg Exp $
 
 NOINSTALL=1
 NOMAN=1
@@ -56,5 +56,12 @@
 
 .PATH: ${X11SRCDIR.pixman}/test
 
+check:
+.for test in ${PROGS}
+       echo -n "Starting ${test}: "; date
+       ./${test} && echo Passed: ${test}
+.endfor
+       echo -n "Done: "; date
+
 .include <bsd.x11.mk>
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index