From owner-freebsd-testing@FreeBSD.ORG Mon Mar 3 16:52:36 2014 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C3BA4C06 for ; Mon, 3 Mar 2014 16:52:36 +0000 (UTC) Received: from sanddollar.geekisp.com (sanddollar.geekisp.com [216.168.135.167]) by mx1.freebsd.org (Postfix) with SMTP id 551C7E33 for ; Mon, 3 Mar 2014 16:52:35 +0000 (UTC) Received: (qmail 31275 invoked by uid 1003); 3 Mar 2014 16:52:29 -0000 Received: from unknown (HELO kiwi) (tyler@monkeypox.org@64.125.69.200) by mail.geekisp.com with (DHE-RSA-AES256-SHA encrypted) SMTP; 3 Mar 2014 16:52:29 -0000 Date: Mon, 3 Mar 2014 08:52:26 -0800 From: "R. Tyler Croy" To: freebsd-testing@freebsd.org Subject: atf-c for kernel function unit testing Message-ID: <20140303165226.GK85115@kiwi> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8CLqiYUo6qiluZPB" Content-Disposition: inline User-Agent: Mutt/1.5.22 (2013-10-16) X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2014 16:52:36 -0000 --8CLqiYUo6qiluZPB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I'm wondering if anybody's explored using atf-c for adding unit tests to kernel level functions or driver code. I'd like to have a bit more confidence in the new driver code I'm pulling down on a regular basis for testing -CURRENT, and unit tests seem like a good way to accomplish that If this is something nobody's tinkered with yet, i'll try to find some tinkering time :) - R. Tyler Croy ------------------------------------------------------ Code: Chatter: % gpg --keyserver keys.gnupg.net --recv-key 3F51E16F ------------------------------------------------------ --8CLqiYUo6qiluZPB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iEYEARECAAYFAlMUs0oACgkQFCbH3D9R4W8HOwCgkMAOdAeQp57sarV693Q8eumy U50An0DpLoI18ASrDIPU4X873++uKZ/a =dI1G -----END PGP SIGNATURE----- --8CLqiYUo6qiluZPB--