summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-10-01 01:10:51 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-10-01 01:10:51 +0000
commit7cc42f6d25ef2e19059d088fa7d4853fe9afefb5 (patch)
tree247f8681872747970b9b38f1c62b58912972ef7d /tests
parent9f669985b281c4e0d8edf80e138a6040c215828c (diff)
downloadsrc-test-7cc42f6d25ef2e19059d088fa7d4853fe9afefb5.tar.gz
src-test-7cc42f6d25ef2e19059d088fa7d4853fe9afefb5.zip
Do a sweep and remove most WARNS=6 settings
Repeating the default WARNS here makes it slightly more difficult to experiment with default WARNS changes, e.g. if we did something absolutely bananas and introduced a WARNS=7 and wanted to try lifting the default to that. Drop most of them; there is one in the blake2 kernel module, but I suspect it should be dropped -- the default WARNS in the rest of the build doesn't currently apply to kernel modules, and I haven't put too much thought into whether it makes sense to make it so.
Notes
Notes: svn path=/head/; revision=366304
Diffstat (limited to 'tests')
-rw-r--r--tests/sys/Makefile.inc2
-rw-r--r--tests/sys/aio/Makefile2
-rw-r--r--tests/sys/audit/Makefile2
-rw-r--r--tests/sys/auditpipe/Makefile1
-rw-r--r--tests/sys/capsicum/Makefile2
-rw-r--r--tests/sys/devrandom/Makefile1
-rw-r--r--tests/sys/fs/fusefs/Makefile2
-rw-r--r--tests/sys/kern/pipe/Makefile2
-rw-r--r--tests/sys/mqueue/Makefile2
-rw-r--r--tests/sys/net/Makefile2
-rw-r--r--tests/sys/netinet/Makefile2
-rw-r--r--tests/sys/netmap/Makefile2
-rw-r--r--tests/sys/opencrypto/Makefile2
-rw-r--r--tests/sys/pjdfstest/pjdfstest/Makefile2
14 files changed, 0 insertions, 26 deletions
diff --git a/tests/sys/Makefile.inc b/tests/sys/Makefile.inc
index 0b336d3f3ef33..2cba822015ae6 100644
--- a/tests/sys/Makefile.inc
+++ b/tests/sys/Makefile.inc
@@ -1,5 +1,3 @@
# $FreeBSD$
-WARNS?= 6
-
.include "${SRCTOP}/tests/Makefile.inc0"
diff --git a/tests/sys/aio/Makefile b/tests/sys/aio/Makefile
index ef44036bf3d82..db9da144c43bd 100644
--- a/tests/sys/aio/Makefile
+++ b/tests/sys/aio/Makefile
@@ -17,6 +17,4 @@ LIBADD.lio_test+= rt
CFLAGS+= -I${.CURDIR:H:H}
-WARNS?= 6
-
.include <bsd.test.mk>
diff --git a/tests/sys/audit/Makefile b/tests/sys/audit/Makefile
index b16402ccb2e06..c2267e52698f2 100644
--- a/tests/sys/audit/Makefile
+++ b/tests/sys/audit/Makefile
@@ -51,8 +51,6 @@ TEST_METADATA+= required_user="root"
TEST_METADATA+= is_exclusive="true"
TEST_METADATA+= required_files="/etc/rc.d/auditd /dev/auditpipe"
-WARNS?= 6
-
LDFLAGS+= -lbsm -lutil
CFLAGS.process-control.c+= -I${SRCTOP}/tests
diff --git a/tests/sys/auditpipe/Makefile b/tests/sys/auditpipe/Makefile
index 49b1084f4d135..ac7715d57f5d7 100644
--- a/tests/sys/auditpipe/Makefile
+++ b/tests/sys/auditpipe/Makefile
@@ -6,6 +6,5 @@ ATF_TESTS_C= auditpipe_test
TEST_METADATA+= required_user="root"
TEST_METADATA+= required_files="/dev/auditpipe"
-WARNS?= 6
.include <bsd.test.mk>
diff --git a/tests/sys/capsicum/Makefile b/tests/sys/capsicum/Makefile
index 7f5caa4df39a0..1b46f9acb471f 100644
--- a/tests/sys/capsicum/Makefile
+++ b/tests/sys/capsicum/Makefile
@@ -52,6 +52,4 @@ WARNS.capsicum-test= 3
.endif
-WARNS?= 6
-
.include <bsd.test.mk>
diff --git a/tests/sys/devrandom/Makefile b/tests/sys/devrandom/Makefile
index db9f9d42a4709..e9c71bc781efc 100644
--- a/tests/sys/devrandom/Makefile
+++ b/tests/sys/devrandom/Makefile
@@ -6,7 +6,6 @@ SDEVRANDOM= ${SRCTOP}/sys/dev/random
.PATH: ${SDEVRANDOM}
TESTSDIR= ${TESTSBASE}/sys/devrandom
-WARNS?= 6
CFLAGS+= -I${SRCTOP}/sys
diff --git a/tests/sys/fs/fusefs/Makefile b/tests/sys/fs/fusefs/Makefile
index ebe4061c1668b..253078f8b1a75 100644
--- a/tests/sys/fs/fusefs/Makefile
+++ b/tests/sys/fs/fusefs/Makefile
@@ -82,6 +82,4 @@ LIBADD+= pthread
LIBADD+= gmock gtest
LIBADD+= util
-WARNS?= 6
-
.include <bsd.test.mk>
diff --git a/tests/sys/kern/pipe/Makefile b/tests/sys/kern/pipe/Makefile
index 193676465aa3b..9211700ada981 100644
--- a/tests/sys/kern/pipe/Makefile
+++ b/tests/sys/kern/pipe/Makefile
@@ -12,6 +12,4 @@ PLAIN_TESTS_C+= pipe_reverse2_test
PLAIN_TESTS_C+= pipe_reverse_test
PLAIN_TESTS_C+= pipe_wraparound_test
-WARNS?= 6
-
.include <bsd.test.mk>
diff --git a/tests/sys/mqueue/Makefile b/tests/sys/mqueue/Makefile
index 251c497e32e43..861694e0b3535 100644
--- a/tests/sys/mqueue/Makefile
+++ b/tests/sys/mqueue/Makefile
@@ -16,6 +16,4 @@ PROGS+= mqtest5
LIBADD+= rt
-WARNS?= 6
-
.include <bsd.test.mk>
diff --git a/tests/sys/net/Makefile b/tests/sys/net/Makefile
index 805fa16ae71bd..3941a502a3a66 100644
--- a/tests/sys/net/Makefile
+++ b/tests/sys/net/Makefile
@@ -25,6 +25,4 @@ PROGS+= randsleep
CFLAGS+= -I${.CURDIR:H:H}
-WARNS?= 6
-
.include <bsd.test.mk>
diff --git a/tests/sys/netinet/Makefile b/tests/sys/netinet/Makefile
index 751276ace52a5..0baf64b180204 100644
--- a/tests/sys/netinet/Makefile
+++ b/tests/sys/netinet/Makefile
@@ -20,6 +20,4 @@ ${PACKAGE}FILESMODE_redirect.py=0555
MAN=
-WARNS?= 6
-
.include <bsd.test.mk>
diff --git a/tests/sys/netmap/Makefile b/tests/sys/netmap/Makefile
index a1d61ddf89524..0228271dd6681 100644
--- a/tests/sys/netmap/Makefile
+++ b/tests/sys/netmap/Makefile
@@ -11,6 +11,4 @@ PLAIN_TESTS_C+= ctrl-api-test
CFLAGS+= -I${SRCTOP}/tests
LIBADD+= pthread
-WARNS?= 6
-
.include <bsd.test.mk>
diff --git a/tests/sys/opencrypto/Makefile b/tests/sys/opencrypto/Makefile
index f9685b166afc7..a0094091ecc6d 100644
--- a/tests/sys/opencrypto/Makefile
+++ b/tests/sys/opencrypto/Makefile
@@ -21,6 +21,4 @@ PYMODULES= cryptodev.py cryptodevh.py cryptotest.py
${PACKAGE}FILES+= ${PYMODULES}
-WARNS?= 6
-
.include <bsd.test.mk>
diff --git a/tests/sys/pjdfstest/pjdfstest/Makefile b/tests/sys/pjdfstest/pjdfstest/Makefile
index e676cc036bad7..53e29c3891fb2 100644
--- a/tests/sys/pjdfstest/pjdfstest/Makefile
+++ b/tests/sys/pjdfstest/pjdfstest/Makefile
@@ -10,6 +10,4 @@ MAN=
CFLAGS+= -I${.CURDIR:H}
-WARNS?= 6
-
.include <bsd.prog.mk>