pkgsrc-WIP-changes archive

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

lldb-netbsd: Document alternative test suits



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Fri Dec 23 00:00:37 2016 +0100
Changeset:	f977e5336d9636443afd3b8d6a2d9373e4469dcc

Modified Files:
	lldb-netbsd/Makefile

Log Message:
lldb-netbsd: Document alternative test suits

Currently check-lldb is the only useful test target.

check-lldb-unit is not designed for a standalone mode
check-lldb-single = check-lldb -j1
check-lldb-expr does not seem to contain useful tests for now

check-lldb might be extended to be running explicitly in remote process setup.
Although this is not crucial as normal mode uses the remode approach internally
behind the scenes.

Sponsored by <The NetBSD Foundation>

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

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

diffstat:
 lldb-netbsd/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diffs:
diff --git a/lldb-netbsd/Makefile b/lldb-netbsd/Makefile
index 360f690..31a2d32 100644
--- a/lldb-netbsd/Makefile
+++ b/lldb-netbsd/Makefile
@@ -49,6 +49,9 @@ REPLACE_PYTHON+=	*/*/*/*/*/*/*/*.py
 REPLACE_PYTHON+=	scripts/shush
 
 TEST_TARGET=		check-lldb
+#TEST_TARGET=		check-lldb-unit # doesn't work in standalone build
+#TEST_TARGET=		check-lldb-single # check-lldb -j1
+#TEST_TARGET=		check-lldb-expr # unknown
 TEST_ENV+=		LD_LIBRARY_PATH=${WRKDIR}/build/lib
 
 .if exists(/usr/include/panel.h)
@@ -60,6 +63,7 @@ CMAKE_ARGS+=	-DLLDB_DISABLE_CURSES:BOOL=TRUE
 post-extract:
 	${RUN} mkdir -p ${WRKDIR}/build
 
+#.include "../../devel/googletest/buildlink3.mk" # check-lldb-unit
 .include "../../textproc/libxml2/buildlink3.mk"
 DEPENDS+=	llvm-${PKGVERSION_NOREV}{,nb*}:../../wip/llvm-netbsd
 .include "../../wip/llvm-netbsd/buildlink3.mk"


Home | Main Index | Thread Index | Old Index