Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests document non-literal format strings
details: https://anonhg.NetBSD.org/src/rev/37a0d5ce825b
branches: trunk
changeset: 768495:37a0d5ce825b
user: christos <christos%NetBSD.org@localhost>
date: Wed Aug 17 16:57:13 2011 +0000
description:
document non-literal format strings
diffstat:
tests/lib/libcurses/slave/Makefile | 3 ++-
tests/util/df/Makefile | 4 +++-
tests/util/id/Makefile | 4 +++-
3 files changed, 8 insertions(+), 3 deletions(-)
diffs (49 lines):
diff -r 6a04341d1a8c -r 37a0d5ce825b tests/lib/libcurses/slave/Makefile
--- a/tests/lib/libcurses/slave/Makefile Wed Aug 17 16:39:29 2011 +0000
+++ b/tests/lib/libcurses/slave/Makefile Wed Aug 17 16:57:13 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2011/06/11 18:03:18 christos Exp $
+# $NetBSD: Makefile,v 1.5 2011/08/17 16:57:13 christos Exp $
#
.include <bsd.own.mk>
@@ -14,6 +14,7 @@
CPPFLAGS+= -g -I${.CURDIR} -I. -I${.CURDIR}/../director
LDADD+= -lcurses -lterminfo -Wl,--no-fatal-warnings
+COPTS.curses_commands.c += -Wno-format-nonliteral
CWARNFLAGS.clang+= -Wno-format
.include <bsd.test.mk>
diff -r 6a04341d1a8c -r 37a0d5ce825b tests/util/df/Makefile
--- a/tests/util/df/Makefile Wed Aug 17 16:39:29 2011 +0000
+++ b/tests/util/df/Makefile Wed Aug 17 16:57:13 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/11/21 15:39:34 jmmv Exp $
+# $NetBSD: Makefile,v 1.3 2011/08/17 17:08:59 christos Exp $
NOMAN= # defined
@@ -22,4 +22,6 @@
SRCS+= humanize_number.c
.endif
+COPTS.strpct.c += -Wno-format-nonliteral
+
.include <bsd.test.mk>
diff -r 6a04341d1a8c -r 37a0d5ce825b tests/util/id/Makefile
--- a/tests/util/id/Makefile Wed Aug 17 16:39:29 2011 +0000
+++ b/tests/util/id/Makefile Wed Aug 17 16:57:13 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2010/07/13 21:13:32 jmmv Exp $
+# $NetBSD: Makefile,v 1.5 2011/08/17 17:08:59 christos Exp $
NOMAN= # defined
@@ -15,4 +15,6 @@
.PATH: ${NETBSDSRCDIR}/usr.bin/id
SRCS= id.c pwgr.c
+COPTS.id.c += -Wno-format-nonliteral
+
.include <bsd.test.mk>
Home |
Main Index |
Thread Index |
Old Index