Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102725196
D46805.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
911 B
Referenced Files
None
Subscribers
None
D46805.diff
View Options
diff --git a/share/mk/bsd.README b/share/mk/bsd.README
--- a/share/mk/bsd.README
+++ b/share/mk/bsd.README
@@ -701,6 +701,9 @@
PLAIN_TESTS_CXX The names of the plain (legacy) test programs to build.
+PLAIN_TESTS_PORCH The names of the plain (legacy) porch(1)-based
+ test programs to build.
+
PLAIN_TESTS_SH The names of the plain (legacy) test programs to build.
TAP_PERL_INTERPRETER
diff --git a/share/mk/plain.test.mk b/share/mk/plain.test.mk
--- a/share/mk/plain.test.mk
+++ b/share/mk/plain.test.mk
@@ -43,6 +43,17 @@
.endfor
.endif
+.if !empty(PLAIN_TESTS_PORCH)
+SCRIPTS+= ${PLAIN_TESTS_PORCH:S/$/.orch/}
+_TESTS+= ${PLAIN_TESTS_PORCH}
+.for _T in ${PLAIN_TESTS_PORCH}
+SCRIPTSDIR_${_T}.orch= ${TESTSDIR}
+
+TEST_INTERFACE.${_T}= plain
+TEST_METADATA.${_T}+= required_programs="porch"
+.endfor
+.endif
+
.if !empty(PLAIN_TESTS_SH)
SCRIPTS+= ${PLAIN_TESTS_SH}
_TESTS+= ${PLAIN_TESTS_SH}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 9:54 AM (21 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14674355
Default Alt Text
D46805.diff (911 B)
Attached To
Mode
D46805: mk: add PLAIN_TESTS_PORCH support
Attached
Detach File
Event Timeline
Log In to Comment