tests/lint: make list of tests simpler
Since the file /usr/tests/usr.bin/xlint/lint2/tests has only been in the file set for a few minutes, it is not marked as obsolete but simply removed.
This commit is contained in:
parent
0d9d928d83
commit
00782fec55
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: mi,v 1.1107 2021/08/07 23:52:32 rillig Exp $
|
||||
# $NetBSD: mi,v 1.1108 2021/08/08 00:02:02 rillig Exp $
|
||||
#
|
||||
# Note: don't delete entries from here - mark them as "obsolete" instead.
|
||||
#
|
||||
|
@ -7071,7 +7071,6 @@
|
|||
./usr/tests/usr.bin/xlint/lint2/read_printf.exp tests-usr.bin-tests compattestfile,atf
|
||||
./usr/tests/usr.bin/xlint/lint2/read_printf.ln tests-usr.bin-tests compattestfile,atf
|
||||
./usr/tests/usr.bin/xlint/lint2/t_lint2 tests-usr.bin-tests compattestfile,atf
|
||||
./usr/tests/usr.bin/xlint/lint2/tests tests-usr.bin-tests compattestfile,atf
|
||||
./usr/tests/usr.bin/ztest tests-usr.bin-tests compattestfile,atf
|
||||
./usr/tests/usr.bin/ztest/Atffile tests-usr.bin-tests compattestfile,atf
|
||||
./usr/tests/usr.bin/ztest/Kyuafile tests-usr.bin-tests compattestfile,atf,kyua
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2021/08/07 23:52:32 rillig Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2021/08/08 00:02:02 rillig Exp $
|
||||
|
||||
NOMAN= yes
|
||||
|
||||
|
@ -22,11 +22,6 @@ TESTS+= read_lp64
|
|||
TESTS+= read_printf
|
||||
|
||||
FILES+= ${TESTS:=.ln} ${TESTS:=.exp}
|
||||
FILES+= tests
|
||||
|
||||
realall: tests
|
||||
tests:
|
||||
printf '%s\n' ${TESTS} > ${.TARGET}
|
||||
|
||||
# Note: only works for adding tests.
|
||||
# To remove a test, the $$mi file must be edited manually.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: t_lint2.sh,v 1.3 2021/08/07 23:52:32 rillig Exp $
|
||||
# $NetBSD: t_lint2.sh,v 1.4 2021/08/08 00:02:02 rillig Exp $
|
||||
#
|
||||
# Copyright (c) 2021 The NetBSD Foundation, Inc.
|
||||
# All rights reserved.
|
||||
|
@ -49,7 +49,8 @@ std_body()
|
|||
atf_init_test_cases()
|
||||
{
|
||||
# shellcheck disable=SC2013
|
||||
for i in $(cat "$(atf_get_srcdir)/tests"); do
|
||||
for i in $(cd "$(atf_get_srcdir)" && echo *.ln); do
|
||||
i=${i%.ln}
|
||||
eval "${i}_head() { std_head; }"
|
||||
eval "${i}_body() { std_body '$i'; }"
|
||||
atf_add_test_case "$i"
|
||||
|
|
Loading…
Reference in New Issue