Increase WARNS for rtld-elf tests

ATF tests have a default WARNS of 0, unlike other usermode programs.

Reviewed by:  ngie, julian
MFC after:    3 weeks
Sponsored by: Spectra Logic Corporation
Differential Revision:        https://reviews.freebsd.org/D9933
This commit is contained in:
Alan Somers 2017-03-11 00:10:40 +00:00
parent eeda0489ca
commit 35804720ec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=315040
3 changed files with 3 additions and 0 deletions

View File

@ -4,5 +4,6 @@ SUBDIR+= libpythagoras target
SUBDIR_DEPEND_target= libpythagoras
ATF_TESTS_C= ld_library_pathfds
WARNS?= 3
.include <bsd.test.mk>

View File

@ -10,6 +10,7 @@ SHLIBDIR= ${TESTSBASE}/libexec/rtld-elf
SRCS= pythagoras.c
WARNS?= 6
LIBADD= m
.include <bsd.lib.mk>

View File

@ -5,6 +5,7 @@
PROG= target
BINDIR= ${TESTSBASE}/libexec/rtld-elf
WARNS?= 3
CFLAGS+= -I${.CURDIR}/../libpythagoras
LDFLAGS+= -L${.OBJDIR}/../libpythagoras