usr.bin/make: fix test failure

The two files include-sub.mk and include-subsub.mk were never intended to
be test cases on their own.  They belong to include-main.mk.

Fixes PR bin/55360.
This commit is contained in:
rillig 2020-06-08 19:50:10 +00:00
parent 7b7e9ceaac
commit c32d14bd2e
1 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: t_make.sh,v 1.7 2015/01/27 12:57:14 martin Exp $
# $NetBSD: t_make.sh,v 1.8 2020/06/08 19:50:10 rillig Exp $
#
# Copyright (c) 2008, 2010, 2014 The NetBSD Foundation, Inc.
# All rights reserved.
@ -77,6 +77,12 @@ atf_init_test_cases()
for filename in "$(atf_get_srcdir)"/unit-tests/*.mk ; do
basename="${filename##*/}"
basename="${basename%.mk}"
# skip files that are not test cases on their own
case "${basename}" in
include-sub*) continue;;
esac
atfname="$(echo "${basename}" | tr "x-" "x_")"
descr='' # XXX
test_case "${atfname}" "${basename}" "${descr}"