Add a test of presence of user settings in port Makefiles.
This commit is contained in:
parent
23940f0fa7
commit
33ae395104
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2015/04/15 08:19:48 zhuk Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2015/07/05 12:32:44 zhuk Exp $
|
||||
|
||||
# To add a test named ${testname}:
|
||||
# 1) If test should catch errors, add sample portcheck output to the
|
||||
@ -11,7 +11,7 @@
|
||||
# section below.
|
||||
|
||||
# user-customizeable
|
||||
REGRESS_TARGETS ?= t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16
|
||||
REGRESS_TARGETS ?= t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17
|
||||
PORTCHECK ?= ${PORTSDIR}/infrastructure/bin/portcheck
|
||||
PORTCHECK_ARGS ?=
|
||||
SUBST_CMD ?= ${PORTSDIR}/infrastructure/bin/pkg_subst
|
||||
@ -34,6 +34,7 @@ TEST_t13_ARGS = -P
|
||||
TEST_t14_ARGS = -P
|
||||
TEST_t15_ARGS = -P
|
||||
TEST_t16_ARGS = -P
|
||||
TEST_t17_ARGS = -P
|
||||
|
||||
# define tests
|
||||
.for _t in ${REGRESS_TARGETS}
|
||||
|
2
tests/portcheck/t17.sample
Normal file
2
tests/portcheck/t17.sample
Normal file
@ -0,0 +1,2 @@
|
||||
user settings in port: BULK=No
|
||||
user settings in port: USE_SYSTRACE = Yes
|
11
tests/portcheck/t17/Makefile
Normal file
11
tests/portcheck/t17/Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.1 2015/07/05 12:32:44 zhuk Exp $
|
||||
#
|
||||
# Check for user settings in makefile
|
||||
|
||||
COMMENT = test 17
|
||||
DISTNAME = test-17
|
||||
|
||||
USE_SYSTRACE = Yes
|
||||
BULK=No
|
||||
|
||||
.include <bsd.port.mk>
|
2
tests/portcheck/t17/pkg/PLIST
Normal file
2
tests/portcheck/t17/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1 2015/07/05 12:32:44 zhuk Exp $
|
||||
bin/foo17
|
Loading…
Reference in New Issue
Block a user