summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-12-10 17:01:14 -0200
committerRenato Botelho <renato@netgate.com>2015-12-10 17:01:14 -0200
commita7ed3b08bcfc9de3d1e75679fe9292e5b09aea82 (patch)
tree71acee51f11c433be4c4a51635ce1ea4302ca4b6 /tests
parent54cf5d1b6607c1e6f2cbf32784c33720517bce49 (diff)
parent3bc7f4d78d27696df85e118c07aa5a2630188922 (diff)
downloadFreeBSD-src-a7ed3b08bcfc9de3d1e75679fe9292e5b09aea82.zip
FreeBSD-src-a7ed3b08bcfc9de3d1e75679fe9292e5b09aea82.tar.gz
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile1
-rw-r--r--tests/sys/Makefile2
-rw-r--r--tests/sys/kern/Makefile5
-rw-r--r--tests/sys/kern/acct/Makefile8
-rw-r--r--tests/sys/pjdfstest/Makefile1
-rw-r--r--tests/sys/pjdfstest/pjdfstest/Makefile2
-rw-r--r--tests/sys/pjdfstest/tests/Makefile2
7 files changed, 17 insertions, 4 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 7fdc5d7..8b3ccb1 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -4,6 +4,7 @@
SUBDIR+= etc
SUBDIR+= sys
+SUBDIR_PARALLEL=
TESTSDIR= ${TESTSBASE}
KYUAFILE= yes
diff --git a/tests/sys/Makefile b/tests/sys/Makefile
index f559e20..015040d 100644
--- a/tests/sys/Makefile
+++ b/tests/sys/Makefile
@@ -20,4 +20,6 @@ TESTS_SUBDIRS+= vm
# Items not integrated into kyua runs by default
SUBDIR+= pjdfstest
+SUBDIR_PARALLEL=
+
.include <bsd.test.mk>
diff --git a/tests/sys/kern/Makefile b/tests/sys/kern/Makefile
index 5328b99..03b4a5c 100644
--- a/tests/sys/kern/Makefile
+++ b/tests/sys/kern/Makefile
@@ -15,6 +15,11 @@ LDADD.ptrace_test+= -lpthread
LDADD.unix_seqpacket_test+= -lpthread
NETBSD_ATF_TESTS_C+= lockf_test
+NETBSD_ATF_TESTS_C+= mqueue_test
+
+CFLAGS.mqueue_test+= -I${SRCTOP}/tests
+DPADD.mqueue_test+= ${LIBRT}
+LDADD.mqueue_test+= -lrt
WARNS?= 5
diff --git a/tests/sys/kern/acct/Makefile b/tests/sys/kern/acct/Makefile
index 966fe9a..89bf3e0 100644
--- a/tests/sys/kern/acct/Makefile
+++ b/tests/sys/kern/acct/Makefile
@@ -6,12 +6,14 @@ ATF_TESTS_C= acct_test
CFLAGS+= -I${.OBJDIR}
-CLEANFILES+= convert.c
+CLEANFILES+= convert.c convert.c.tmp
DPSRCS.acct_test= convert.c
+acct_test.o: convert.c
-convert.c: ${SRCTOP}/sys/kern/kern_acct.c
+convert.c: ${.CURDIR:H:H:H:H}/sys/kern/kern_acct.c
sed -n -e 's/log(/syslog(/g' \
- -e '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' ${.ALLSRC} >>${.TARGET}
+ -e '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' ${.ALLSRC} >${.TARGET}.tmp
+ mv ${.TARGET}.tmp ${.TARGET}
.include <bsd.test.mk>
diff --git a/tests/sys/pjdfstest/Makefile b/tests/sys/pjdfstest/Makefile
index 7047811..a398d39 100644
--- a/tests/sys/pjdfstest/Makefile
+++ b/tests/sys/pjdfstest/Makefile
@@ -2,5 +2,6 @@
SUBDIR+= pjdfstest
SUBDIR+= tests
+SUBDIR_PARALLEL=
.include <bsd.subdir.mk>
diff --git a/tests/sys/pjdfstest/pjdfstest/Makefile b/tests/sys/pjdfstest/pjdfstest/Makefile
index c0e82a4..29bee82 100644
--- a/tests/sys/pjdfstest/pjdfstest/Makefile
+++ b/tests/sys/pjdfstest/pjdfstest/Makefile
@@ -8,7 +8,7 @@ BINDIR= ${TESTSBASE}/sys/pjdfstest
PROG= pjdfstest
MAN=
-CFLAGS= -D__OS_FreeBSD__ -DHAS_LCHMOD -DHAS_CHFLAGS -DHAS_FCHFLAGS
+CFLAGS+= -D__OS_FreeBSD__ -DHAS_LCHMOD -DHAS_CHFLAGS -DHAS_FCHFLAGS
CFLAGS+= -DHAS_CHFLAGSAT -DHAS_LCHFLAGS -DHAS_FREEBSD_ACL -DHAS_BINDAT
CFLAGS+= -DHAS_CONNECTAT
diff --git a/tests/sys/pjdfstest/tests/Makefile b/tests/sys/pjdfstest/tests/Makefile
index 248b209..917b01a 100644
--- a/tests/sys/pjdfstest/tests/Makefile
+++ b/tests/sys/pjdfstest/tests/Makefile
@@ -36,4 +36,6 @@ TESTS_SUBDIRS+= symlink
TESTS_SUBDIRS+= truncate
TESTS_SUBDIRS+= unlink
+SUBDIR_PARALLEL=
+
.include <bsd.test.mk>
OpenPOWER on IntegriCloud