From owner-freebsd-arch@FreeBSD.ORG Sat Jan 19 22:06:49 2008 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13BB316A421; Sat, 19 Jan 2008 22:06:49 +0000 (UTC) (envelope-from nik@ngo.org.uk) Received: from jc.ngo.org.uk (jc.ngo.org.uk [69.55.225.33]) by mx1.freebsd.org (Postfix) with ESMTP id 07B0C13C46B; Sat, 19 Jan 2008 22:06:48 +0000 (UTC) (envelope-from nik@ngo.org.uk) Received: from [192.168.3.3] (25-115.77-83.cust.bluewin.ch [83.77.115.25]) by jc.ngo.org.uk (8.13.8/8.13.8) with ESMTP id m0JLnln8061288; Sat, 19 Jan 2008 13:50:18 -0800 (PST) (envelope-from nik@ngo.org.uk) Message-ID: <47927085.4020604@ngo.org.uk> Date: Sat, 19 Jan 2008 22:49:57 +0100 From: nik User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: John Baldwin References: <200801171731.09873.jhb@freebsd.org> In-Reply-To: <200801171731.09873.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: * (1.988) RCVD_IN_SORBS_DUL X-Scanned-By: MIMEDefang 2.57 on 69.55.225.33 Cc: arch@freebsd.org, rusty@rustcorp.com.au Subject: Re: Simple framework for regression tests in src/tools/regression X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2008 22:06:49 -0000 John Baldwin wrote: > When I converted the test program for the posix shm stuff over to a regression > test I added some framework bits to manage the output format prove(1) > expects. You can find it in src/tools/regression/posixshm/test.[ch]. I was > curious if we wanted to perhaps make it a library in the base system > (libbsdtest.a or some such) that our regression tools could use. You want libtap(3), which outputs the necessary format. I wrote it, then got caught up with other things, and now Rusty Russel (rusty@rustcorp.com.au, copied) maintains it. There's a repo at http://ccan.ozlabs.org/repo/ccan_tools/libtap/ -- IIRC there's also a port (which probably needs updating). N