pkgsrc-WIP-changes archive

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

brlcad: Split test and benchmark



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Oct 23 05:39:50 2016 +0200
Changeset:	43414c2313b022b84cfa4c0bc8a0ccf91bd46d1c

Modified Files:
	brlcad/Makefile

Log Message:
brlcad: Split test and benchmark

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

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

diffstat:
 brlcad/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diffs:
diff --git a/brlcad/Makefile b/brlcad/Makefile
index f61cd6f..bd47f4c 100644
--- a/brlcad/Makefile
+++ b/brlcad/Makefile
@@ -94,7 +94,13 @@ REPLACE_FILES.awk=	src/other/freetype/builds/atari/deflinejoiner.awk
 REPLACE_PERL+=		src/proc-db/metaballs.pl
 REPLACE_PERL+=		src/proc-db/spiral.pl
 
-TEST_TARGET=		benchmark test
+TEST_TARGET=		test
+
+benchmark: build
+	${_ULIMIT_CMD}							\
+		cd ${WRKSRC} &&						\
+		${PKGSRC_SETENV} ${TEST_ENV} ${MAKE_PROGRAM}		\
+			${MAKE_FLAGS} ${TEST_MAKE_FLAGS} benchmark
 
 # .include "../../wip/tk-itk3/buildlink3.mk" # built-in
 # .include "../../wip/tkpng/buildlink3.mk" # built-in


Home | Main Index | Thread Index | Old Index