Move tests for examples from tests/examples to tests/share/examples.

This is to match the layout of the installed and source files more closely.
While doing this, honor the MKSHARE variable, as the files these tests
validate are only installed when MKSHARE=yes.
This commit is contained in:
jmmv 2013-02-16 12:44:25 +00:00
parent 42993421e9
commit 8f212f1945
7 changed files with 23 additions and 20 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.516 2013/02/15 17:09:09 jmmv Exp $
# $NetBSD: mi,v 1.517 2013/02/16 12:44:25 jmmv Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@ -815,9 +815,9 @@
./usr/tests/dev/sysmon/Atffile tests-fs-tests atf,rump
./usr/tests/dev/sysmon/t_swsensor tests-fs-tests atf,rump
./usr/tests/dev/sysmon/t_swwdog tests-fs-tests atf,rump
./usr/tests/examples tests-asm-tests
./usr/tests/examples/Atffile tests-asm-tests atf
./usr/tests/examples/t_asm tests-asm-tests atf
./usr/tests/examples tests-obsolete
./usr/tests/examples/Atffile tests-obsolete
./usr/tests/examples/t_asm tests-obsolete
./usr/tests/fs tests-fs-tests
./usr/tests/fs/Atffile tests-fs-tests atf,rump
./usr/tests/fs/h_funcs.subr tests-fs-tests atf,rump
@ -2300,6 +2300,9 @@
./usr/tests/sbin/sysctl/t_perm tests-sbin-tests atf
./usr/tests/sbin/sysctl/t_sysctl tests-sbin-tests atf
./usr/tests/share tests-sys-tests
./usr/tests/share/examples tests-asm-tests
./usr/tests/share/examples/Atffile tests-asm-tests atf,share
./usr/tests/share/examples/t_asm tests-asm-tests atf,share
./usr/tests/share/Atffile tests-sys-tests atf
./usr/tests/share/mk tests-mk-tests
./usr/tests/share/mk/Atffile tests-mk-tests atf

View File

@ -1,4 +1,4 @@
# $NetBSD: NetBSD.dist.tests,v 1.90 2012/11/23 08:36:47 njoly Exp $
# $NetBSD: NetBSD.dist.tests,v 1.91 2013/02/16 12:44:26 jmmv Exp $
./usr/libdata/debug/usr/tests
./usr/libdata/debug/usr/tests/atf
@ -155,7 +155,6 @@
./usr/tests/dev/raidframe
./usr/tests/dev/scsipi
./usr/tests/dev/sysmon
./usr/tests/examples
./usr/tests/fs
./usr/tests/fs/ffs
./usr/tests/fs/fifofs
@ -278,6 +277,7 @@
./usr/tests/sbin/route
./usr/tests/sbin/sysctl
./usr/tests/share
./usr/tests/share/examples
./usr/tests/share/mk
./usr/tests/sys
./usr/tests/sys/rc

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.39 2012/08/26 23:03:20 jmmv Exp $
# $NetBSD: Makefile,v 1.40 2013/02/16 12:44:26 jmmv Exp $
.include <bsd.own.mk>
@ -7,7 +7,7 @@
TESTSDIR= ${TESTSBASE}
ATFFILE= yes
SUBDIR= bin dev examples games include kernel lib libexec net
SUBDIR= bin dev games include kernel lib libexec net
SUBDIR+= sbin sys usr.bin usr.sbin
. if (${MKRUMP} != "no")

View File

@ -1,9 +0,0 @@
# $NetBSD: Makefile,v 1.1 2011/11/12 01:19:25 jmmv Exp $
.include <bsd.own.mk>
TESTSDIR= ${TESTSBASE}/examples
TESTS_SH= t_asm
.include <bsd.test.mk>

View File

@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.1 2012/08/26 23:03:21 jmmv Exp $
# $NetBSD: Makefile,v 1.2 2013/02/16 12:44:26 jmmv Exp $
.include <bsd.own.mk>
TESTSDIR= ${TESTSBASE}/share
TESTS_SUBDIRS= mk
TESTS_SUBDIRS= examples mk
.include <bsd.test.mk>

View File

@ -0,0 +1,9 @@
# $NetBSD: Makefile,v 1.1 2013/02/16 12:44:26 jmmv Exp $
.include <bsd.own.mk>
TESTSDIR= ${TESTSBASE}/share/examples
TESTS_SH= t_asm
.include <bsd.test.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: t_asm.sh,v 1.1 2011/11/12 01:19:25 jmmv Exp $
# $NetBSD: t_asm.sh,v 1.1 2013/02/16 12:44:26 jmmv Exp $
#
# Copyright (c) 2011 The NetBSD Foundation, Inc.
# All rights reserved.