Add handling of the supposed-to-fail tests. Add an
"ok: <testname>" possibly followed by "(should warn & fail)" to the output to make it a little more obvious what is being run.
This commit is contained in:
parent
7164372cfa
commit
834c0a7840
|
@ -1,11 +1,17 @@
|
|||
# $NetBSD: Makefile,v 1.2 2006/10/14 23:38:40 dogcow Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2006/10/18 00:05:33 he Exp $
|
||||
|
||||
TESTS != echo test*.c
|
||||
FAIL_TESTS != echo fail-test*.c
|
||||
LINT1 = ${DESTDIR}/usr/libexec/lint1
|
||||
|
||||
regress:
|
||||
. for i in ${TESTS}
|
||||
${LINT1} -g -S $i /dev/null
|
||||
echo ok: $i
|
||||
. endfor
|
||||
. for i in ${FAIL_TESTS}
|
||||
! ${LINT1} -g -S -w $i /dev/null
|
||||
echo ok: $i '(should warn & fail)'
|
||||
. endfor
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
|
Loading…
Reference in New Issue