summaryrefslogtreecommitdiffstats
path: root/tests/sys/kern/acct/Makefile
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-11-23 09:10:34 -0200
committerRenato Botelho <renato@netgate.com>2015-11-23 09:10:34 -0200
commit175c045d4a1c422d916e6326fe84ccbc0d0a113f (patch)
treeb8b853af14fbe0de33493ba527990a2aa469dd8c /tests/sys/kern/acct/Makefile
parenta9f1fcf48af9df36b9cd440fdc571067e1eef636 (diff)
parent749b28b1257beaf3e3d4f30302f7dfd901c958ac (diff)
downloadFreeBSD-src-175c045d4a1c422d916e6326fe84ccbc0d0a113f.zip
FreeBSD-src-175c045d4a1c422d916e6326fe84ccbc0d0a113f.tar.gz
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'tests/sys/kern/acct/Makefile')
-rw-r--r--tests/sys/kern/acct/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/sys/kern/acct/Makefile b/tests/sys/kern/acct/Makefile
new file mode 100644
index 0000000..966fe9a
--- /dev/null
+++ b/tests/sys/kern/acct/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+TESTSDIR= ${TESTSBASE}/sys/kern/acct
+
+ATF_TESTS_C= acct_test
+
+CFLAGS+= -I${.OBJDIR}
+
+CLEANFILES+= convert.c
+
+DPSRCS.acct_test= convert.c
+
+convert.c: ${SRCTOP}/sys/kern/kern_acct.c
+ sed -n -e 's/log(/syslog(/g' \
+ -e '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' ${.ALLSRC} >>${.TARGET}
+
+.include <bsd.test.mk>
OpenPOWER on IntegriCloud