Fix build of tests with an MKDEBUG build by properly creating the target

directories that will hold the debug programs and by registering those in
the file lists.  (Untested, but hopefully will work.)  Noted by drochner@.
This commit is contained in:
jmmv 2007-11-14 20:37:53 +00:00
parent 445a5e5f36
commit 6ff8382f07
2 changed files with 45 additions and 2 deletions

View File

@ -1,5 +1,37 @@
# $NetBSD: mi,v 1.5 2007/11/12 15:19:45 jmmv Exp $
# $NetBSD: mi,v 1.6 2007/11/14 20:37:54 jmmv Exp $
./etc/mtree/set.tests tests-sys-root
./usr/libdata/debug/usr/tests tests-base-debug debug
./usr/libdata/debug/usr/tests/atf tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/formats tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/formats/h_parsers.debug tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/formats/t_writers.debug tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/test_programs tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/test_programs/h_cpp.debug tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/tools tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/tools/h_fail.debug tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/tools/h_misc.debug tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/tools/h_mode.debug tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/tools/h_pass.debug tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/units tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/units/t_config.debug tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/units/t_env.debug tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/units/t_expand.debug tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/units/t_fs.debug tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/units/t_io.debug tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/units/t_parser.debug tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/units/t_sanity.debug tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/units/t_tests.debug tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/units/t_text.debug tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/units/t_user.debug tests-atf-debug debug
./usr/libdata/debug/usr/tests/atf/units/t_utils.debug tests-atf-debug debug
./usr/libdata/debug/usr/tests/fs tests-fs-debug debug
./usr/libdata/debug/usr/tests/fs/tmpfs tests-fs-debug debug
./usr/libdata/debug/usr/tests/fs/tmpfs/h_tools.debug tests-fs-debug debug
./usr/libdata/debug/usr/tests/util tests-util-debug debug
./usr/libdata/debug/usr/tests/util/df tests-util-debug debug
./usr/libdata/debug/usr/tests/util/df/h_df.debug tests-util-debug debug
./usr/libdata/debug/usr/tests/util/systrace tests-util-debug debug
./usr/libdata/debug/usr/tests/util/systrace/h_have_systrace.debug tests-util-debug debug
./usr/tests tests-base-tests
./usr/tests/Atffile tests-base-tests
./usr/tests/atf tests-atf-tests

View File

@ -1,4 +1,4 @@
# $NetBSD: NetBSD.dist,v 1.352 2007/11/12 15:19:45 jmmv Exp $
# $NetBSD: NetBSD.dist,v 1.353 2007/11/14 20:37:53 jmmv Exp $
# @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
# Do not customize this file as it may be overwritten on upgrades.
@ -329,6 +329,17 @@
./usr/libdata/debug/usr/libexec/lpr
./usr/libdata/debug/usr/libexec/postfix
./usr/libdata/debug/usr/sbin
./usr/libdata/debug/usr/tests
./usr/libdata/debug/usr/tests/atf
./usr/libdata/debug/usr/tests/atf/formats
./usr/libdata/debug/usr/tests/atf/test_programs
./usr/libdata/debug/usr/tests/atf/tools
./usr/libdata/debug/usr/tests/atf/units
./usr/libdata/debug/usr/tests/fs
./usr/libdata/debug/usr/tests/fs/tmpfs
./usr/libdata/debug/usr/tests/util
./usr/libdata/debug/usr/tests/util/df
./usr/libdata/debug/usr/tests/util/systrace
./usr/libdata/firmware
./usr/libdata/lint
./usr/libexec