NetBSD Problem Report #38326

From dholland@eecs.harvard.edu  Sat Mar 29 05:50:53 2008
Return-Path: <dholland@eecs.harvard.edu>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id EA96463B863
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 29 Mar 2008 05:50:52 +0000 (UTC)
Message-Id: <20080329055041.200BFF89B@tanaqui.eecs.harvard.edu>
Date: Sat, 29 Mar 2008 01:50:40 -0400 (EDT)
From: dholland@eecs.harvard.edu
Reply-To: dholland@eecs.harvard.edu
To: gnats-bugs@gnats.NetBSD.org
Cc: apb@cequrux.com
Subject: make regression-tests at toplevel doesn't run the atf tests
X-Send-Pr-Version: 3.95

>Number:         38326
>Category:       misc
>Synopsis:       make regression-tests at toplevel doesn't run the atf tests
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jmmv
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 29 05:55:00 +0000 2008
>Closed-Date:    Mon Jun 21 03:12:29 +0000 2010
>Last-Modified:  Mon Jun 21 03:12:29 +0000 2010
>Originator:     David A. Holland
>Release:        NetBSD 4.99.54 (actually -20080328)
>Organization:
eecs
>Environment:
System: NetBSD tanaqui 4.99.54 NetBSD 4.99.54 (TANAQUI) #21: Fri Feb 29 12:31:31 EST 2008 dholland@tanaqui:/usr/src/sys/arch/i386/compile/TANAQUI i386
Architecture: i386
Machine: i386
>Description:

'make regression-tests' at the top level only runs the old regression
tests. It would be nice if it ran the ATF tests too. (But which ones?
Out of $DESTDIR? Or out of /usr/tests? And are there other such
questions? hi jmmv...)

Noted by apb on netbsd-docs.

>How-To-Repeat:
makefile inspection.
>Fix:
Straightforward once the right questions are asked and answered. :-/

>Release-Note:

>Audit-Trail:
From: "Julio M. Merino Vidal" <jmmv@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/38326 CVS commit: src/share/mk
Date: Fri, 18 Jun 2010 10:10:57 +0000

 Module Name:	src
 Committed By:	jmmv
 Date:		Fri Jun 18 10:10:57 UTC 2010

 Modified Files:
 	src/share/mk: bsd.test.mk

 Log Message:
 Add a experimental "make test" target

 make test may yield misleading results but should work in many cases.  This
 target is supposed to simplify the execution of tests but does not preclude
 developers from running the installed versions.

 Addresses PR misc/38326.


 To generate a diff of this commit:
 cvs rdiff -u -r1.8 -r1.9 src/share/mk/bsd.test.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: misc-bug-people->jmmv
Responsible-Changed-By: jmmv@NetBSD.org
Responsible-Changed-When: Fri, 18 Jun 2010 19:39:21 +0000
Responsible-Changed-Why:
I'm working on this.


State-Changed-From-To: open->feedback
State-Changed-By: jmmv@NetBSD.org
State-Changed-When: Fri, 18 Jun 2010 19:39:21 +0000
State-Changed-Why:
I've implemented a 'test' target that works from any subdirectory
of src/tests.  Please take a look.


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 21 Jun 2010 03:12:29 +0000
State-Changed-Why:
looks pretty good; I might adjust the banner message it prints to be more
specific about what can cause issues (e.g. shared library version skew
and such)


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.