Add the tests.tgz set

This adds a new tests.tgz set to releases which includes all the tests
for the system.  It is important to note that this set does not rely on
comp.tgz: a user of the system can run the tests without having the
development tools installed, which can be useful in a production machine.
This commit is contained in:
jmmv 2007-11-12 15:06:45 +00:00
parent dd2f8250cc
commit 4d9b8b6a50
10 changed files with 41 additions and 12 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.250 2007/10/07 16:35:21 pavel Exp $
# $NetBSD: Makefile,v 1.251 2007/11/12 15:06:45 jmmv Exp $
#
# This is the top-level makefile for building NetBSD. For an outline of
@ -121,7 +121,7 @@ _SRC_TOP_OBJ_=
.endif
_SUBDIR= tools lib include gnu bin games libexec sbin usr.bin
_SUBDIR+= usr.sbin share rescue sys etc .WAIT distrib regress
_SUBDIR+= usr.sbin share rescue sys etc tests .WAIT distrib regress
#
# Weed out directories that don't exist.

View File

@ -1,4 +1,4 @@
# $NetBSD: README,v 1.6 2004/02/13 11:36:08 wiz Exp $
# $NetBSD: README,v 1.7 2007/11/12 15:06:45 jmmv Exp $
To: "NetBSD Port Maintainers"
Subject: distribution sets, etc...
@ -80,6 +80,9 @@ the sets are as follows:
man pages for other CPUs which happen to always
be installed.
tests: unit, regression, integration and stress tests for the
whole system.
text: text processing tools. groff and all of its friends.
includes man pages for all bins contained within.

View File

@ -0,0 +1,4 @@
# $NetBSD: mi,v 1.1 2007/11/12 15:06:45 jmmv Exp $
./etc/mtree/set.tests tests-sys-root
./usr/tests tests-base-tests
./usr/tests/Atffile tests-base-tests

View File

@ -1,12 +1,12 @@
#!/bin/sh
#
# $NetBSD: maketars,v 1.61 2006/01/28 19:01:23 apb Exp $
# $NetBSD: maketars,v 1.62 2007/11/12 15:06:45 jmmv Exp $
#
# Make release tar files for some or all lists. Usage:
# maketars [-b] [-x] [-i installdir] [-a arch] [-m machine] [-s setsdir]
# [-M metalog] [-N etcdir] [-d destdir] [-t tardir] [setname ...]
#
# The default sets are "base comp etc games man misc text"
# The default sets are "base comp etc games man misc tests text"
# The X sets are "xbase xcomp xetc xfont xserver"
#
# If '-i installdir' is given, copy the given sets to installdir

View File

@ -1,6 +1,6 @@
#! /bin/sh
#
# $NetBSD: regpkgset,v 1.9 2007/02/05 18:26:01 apb Exp $
# $NetBSD: regpkgset,v 1.10 2007/11/12 15:06:45 jmmv Exp $
#
# Copyright (c) 2003 Alistair G. Crooks. All rights reserved.
#
@ -126,7 +126,7 @@ if [ $# -lt 1 ]; then
fi
case "$1" in
all) list="base comp etc games man misc text" ;;
all) list="base comp etc games man misc tests text" ;;
*) list="$*" ;;
esac

View File

@ -1,4 +1,4 @@
# $NetBSD: sets.subr,v 1.56 2007/02/05 18:26:01 apb Exp $
# $NetBSD: sets.subr,v 1.57 2007/11/12 15:06:45 jmmv Exp $
#
#
@ -185,7 +185,7 @@ done
IFS=$oIFS
setsdir=${0%/*}
nlists="base comp etc games man misc text"
nlists="base comp etc games man misc tests text"
case $x11_version in
3) xlists="xbase3 xcomp3 xcontrib3 xfont3 xmisc3 xserver3" ;;
4) xlists="xbase4 xcomp4 xcontrib4 xfont4 xmisc4 xserver4" ;;
@ -219,7 +219,7 @@ fi
# In each file, a record consists of a path and a System Package name,
# separated by whitespace. E.g.,
#
# # $NetBSD: sets.subr,v 1.56 2007/02/05 18:26:01 apb Exp $
# # $NetBSD: sets.subr,v 1.57 2007/11/12 15:06:45 jmmv Exp $
# . base-sys-root [keyword[,...]]
# ./altroot base-sys-root
# ./bin base-sys-root

View File

@ -1,4 +1,4 @@
# $NetBSD: NetBSD.dist,v 1.347 2007/11/12 15:04:03 jmmv Exp $
# $NetBSD: NetBSD.dist,v 1.348 2007/11/12 15:06:46 jmmv Exp $
# @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
# Do not customize this file as it may be overwritten on upgrades.
@ -1081,6 +1081,7 @@
./usr/share/zoneinfo/Mideast
./usr/share/zoneinfo/Pacific
./usr/share/zoneinfo/US
./usr/tests
./var
./var/account
./var/at

View File

@ -1,4 +1,4 @@
.\" $NetBSD: hier.7,v 1.77 2007/11/12 14:56:27 jmmv Exp $
.\" $NetBSD: hier.7,v 1.78 2007/11/12 15:06:46 jmmv Exp $
.\"
.\" Copyright (c) 1990, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@ -598,6 +598,10 @@ timezone configuration information;
see
.Xr tzfile 5
.El
.It Sy tests/
test programs; see
.Xr atf-run 1
for information on how to run them
.El
.Pp
.It Sy /usr/src/
@ -1016,6 +1020,9 @@ file system support
.It Sy uvm/
UVM virtual memory system
.El
.It Sy tests/
source for test programs in
.Pa /usr/tests
.It Sy usr.bin/
source for utilities/files in
.Pa /usr/bin

6
tests/Atffile Normal file
View File

@ -0,0 +1,6 @@
Content-Type: application/X-atf-atffile; version="1"
# XXX: This top-level file shouldn't have to define a test-suite.
prop: test-suite = "NetBSD"
tp-glob: *

8
tests/Makefile Normal file
View File

@ -0,0 +1,8 @@
# $NetBSD: Makefile,v 1.1 2007/11/12 15:06:46 jmmv Exp $
.include <bsd.own.mk>
#SUBDIR= None yet.
.include <bsd.test.mk>
.include <bsd.subdir.mk>