pkgsrc-WIP-changes archive

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

gdb-git: Add test target



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Sep 5 17:48:02 2017 +0200
Changeset:	54a38618481a70169cac53ed62870751f0c750d9

Modified Files:
	gdb-git/Makefile

Log Message:
gdb-git: Add test target

Require dejagnu.
Add temporarily check-base that is expected to run without threads.

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

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

diffstat:
 gdb-git/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diffs:
diff --git a/gdb-git/Makefile b/gdb-git/Makefile
index f621c65e9b..72706ea559 100644
--- a/gdb-git/Makefile
+++ b/gdb-git/Makefile
@@ -68,6 +68,12 @@ TEST_ENV=		DEJAGNU=${WRKDIR}/../files/dragonfly-default.exp
 PLIST.gcore=	YES
 .endif
 
+# TEST_DEPENDS
+BUILD_DEPENDS+=	dejagnu-[0-9]*:../../devel/dejagnu
+
+check-base:
+	${RUN}${_ULIMIT_CMD} cd ${TEST_DIRS} && ${TEST_MAKE_CMD} -j1 check TESTS="gdb.base/*.exp"
+
 post-install:
 	${RM} -f ${DESTDIR}/${PREFIX}/lib/charset.alias
 .if ${OPSYS} == "DragonFly"


Home | Main Index | Thread Index | Old Index