summaryrefslogtreecommitdiffstats
path: root/usr.sbin/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@FreeBSD.org>2014-03-16 04:09:22 +0000
committerjmmv <jmmv@FreeBSD.org>2014-03-16 04:09:22 +0000
commitb2e51e38a88412c17ce1160c247a6d673c0b2147 (patch)
tree22c8956efd4de8b6e41a15566111321ba8fdfde0 /usr.sbin/Makefile
parenta8cf290e9bcfb637ddde7dcc7345006c194c7ec8 (diff)
downloadFreeBSD-src-b2e51e38a88412c17ce1160c247a6d673c0b2147.zip
FreeBSD-src-b2e51e38a88412c17ce1160c247a6d673c0b2147.tar.gz
Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout.
This change was originally going to only migrate the usr.sbin tests but, as it turns out, the usr.sbin/sa/ tests require files from usr.bin/lastcomm/ so it's better to just also migrate the latter at the same time. The other usr.bin tests will be moved separately. To make these tests work within the test suite, some of them have required changes to prevent modifying the source directory and instead just rely on the current directory for file manipulation.
Diffstat (limited to 'usr.sbin/Makefile')
-rw-r--r--usr.sbin/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
index 61d91b9..b709be5 100644
--- a/usr.sbin/Makefile
+++ b/usr.sbin/Makefile
@@ -284,6 +284,10 @@ SUBDIR+= praliases
SUBDIR+= sendmail
.endif
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
.if ${MK_TOOLCHAIN} != "no"
SUBDIR+= config
SUBDIR+= crunch
OpenPOWER on IntegriCloud