summaryrefslogtreecommitdiffstats
path: root/share/examples
diff options
context:
space:
mode:
authorjmmv <jmmv@FreeBSD.org>2014-03-14 08:56:19 +0000
committerjmmv <jmmv@FreeBSD.org>2014-03-14 08:56:19 +0000
commit3cbab1b573ec89485665a9df32050f9671205fa5 (patch)
tree546a6f18faf325d834cee65b038abd15ab1cd2f5 /share/examples
parent7a4e017987aaf7e7c7c94fad8f0911e5eab0b250 (diff)
downloadFreeBSD-src-3cbab1b573ec89485665a9df32050f9671205fa5.zip
FreeBSD-src-3cbab1b573ec89485665a9df32050f9671205fa5.tar.gz
Make bsd.test.mk the only public mk fragment for the building of tests.
Change {atf,plain,tap}.test.mk to be internal implementation details of bsd.test.mk. Makefiles that build tests should now only include bsd.test.mk and declaratively specify what they want to build, without worrying about the internal implementation of the mk files. The reason for this change is to permit building test programs of different interfaces from a single directory, which is something I had a need for while porting tests over from src/tools/regression/. Additionally, this change makes it possible to perform some other requested changes to bsd.test.mk in an easier manner. Coming soon.
Diffstat (limited to 'share/examples')
-rw-r--r--share/examples/tests/tests/atf/Makefile2
-rw-r--r--share/examples/tests/tests/plain/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/share/examples/tests/tests/atf/Makefile b/share/examples/tests/tests/atf/Makefile
index d93813da..c7bd46f 100644
--- a/share/examples/tests/tests/atf/Makefile
+++ b/share/examples/tests/tests/atf/Makefile
@@ -27,4 +27,4 @@ ATF_TESTS_SH= cp_test
# definitions from above.
KYUAFILE= yes
-.include <atf.test.mk>
+.include <bsd.test.mk>
diff --git a/share/examples/tests/tests/plain/Makefile b/share/examples/tests/tests/plain/Makefile
index 309dbef..7348c5a 100644
--- a/share/examples/tests/tests/plain/Makefile
+++ b/share/examples/tests/tests/plain/Makefile
@@ -27,4 +27,4 @@ PLAIN_TESTS_SH= cp_test
# definitions from above.
KYUAFILE= yes
-.include <plain.test.mk>
+.include <bsd.test.mk>
OpenPOWER on IntegriCloud