Page MenuHomeFreeBSD

D46805.diff
No OneTemporary

D46805.diff

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

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)

Event Timeline