summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-04-16 05:38:19 +0000
committerngie <ngie@FreeBSD.org>2015-04-16 05:38:19 +0000
commitde089aea2a94686dc17c5d0a52d3aba815ba977c (patch)
treec6ab726fdaf5431756b37c0ae3c61476ce9a7d75 /tests
parent010f8b4f07d5b9042f82def348aec8af8521321b (diff)
downloadFreeBSD-src-de089aea2a94686dc17c5d0a52d3aba815ba977c.zip
FreeBSD-src-de089aea2a94686dc17c5d0a52d3aba815ba977c.tar.gz
Set WARNS to 6, but turn off -Wcast-align; this is an issue with unix_cmsg and
unix_passfd_test
Diffstat (limited to 'tests')
-rw-r--r--tests/sys/socket/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/sys/socket/Makefile b/tests/sys/socket/Makefile
index 632577d..6b94c46 100644
--- a/tests/sys/socket/Makefile
+++ b/tests/sys/socket/Makefile
@@ -42,12 +42,9 @@ ATF_TESTS_C+= zerosend_test
DPADD.sendfile_test+= ${LIBMD}
LDADD.sendfile_test+= -lmd
-# XXX: this doesn't work..?
-#WARNS.unix_cmsg= 3
-#WARNS.unix_gc= 3
-#WARNS.unix_passfd= 3
-#WARNS.zerosend= 2
+# XXX: unix_cmsg_test and unix_passfd_test need to be fixed
+NO_WCAST_ALIGN.clang=
-WARNS= 2
+WARNS?= 6
.include <bsd.test.mk>
OpenPOWER on IntegriCloud