From owner-freebsd-testing@FreeBSD.ORG Thu Jul 24 20:26:12 2014 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5E7D0D3D; Thu, 24 Jul 2014 20:26:12 +0000 (UTC) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1B59024AD; Thu, 24 Jul 2014 20:26:12 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id at1so2798605iec.2 for ; Thu, 24 Jul 2014 13:26:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vsSq/suEZTjPnYaS+KndGn5EiZ7yQLyJc3uxWEpuj0k=; b=AS/vw9qIYVV/th3S14EPaLyCTrrx4S9hJB3rWj9QlSM/PQpdkXzgDwfDCAaVI5VeNe 9hEQwGEr0lNFFAg+ASVezrrCtwL01OKiSL+QsGkpr+WpnE96YIF02YoFhr7ZKs6hNipA FqMCN9gLgjm/VxkeyA6lHlMiS0qBrMq9kdzqGgOxKtxUUF4uwNK3Z8R1rs4ARNHk7Vd8 zU439W1GIQTlqZaIw/ejlr7NCssLGu9GBXATl+KoUfo9P0Fdb6MXyhZz8ePYgfBBiDSS vwEbloYY3u4VNUH6j8rIfvM+PkJpLUVQezsM6D8/u5wI8PXJ0rF6eCUQtQPEPbhF0Kw6 A5Hw== MIME-Version: 1.0 X-Received: by 10.50.66.133 with SMTP id f5mr42230289igt.38.1406233571395; Thu, 24 Jul 2014 13:26:11 -0700 (PDT) Received: by 10.50.213.102 with HTTP; Thu, 24 Jul 2014 13:26:11 -0700 (PDT) In-Reply-To: References: Date: Thu, 24 Jul 2014 13:26:11 -0700 Message-ID: Subject: Re: Best place to learn how to write tests which work under kyua? From: Garrett Cooper To: Julio Merino Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-testing@freebsd.org" X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2014 20:26:12 -0000 On Thu, Jul 24, 2014 at 1:02 PM, Julio Merino wrote: > On Tue, Jun 10, 2014 at 6:06 PM, Craig Rodrigues wrote: >> Hi, >> >> Where is the best place to learn about starting from >> a clean slate, writing new tests which execute under kyua, >> and how to structure the Kyuafile? >> Specifically, I want to use kyua in my own project, which is >> not part of the FreeBSD source tree. > > Then... this question belongs in kyua-discuss, doesn't it? ;-P > >> I looked at these links: >> >> http://wiki.netbsd.org/kyua/ >> https://wiki.freebsd.org/TestingFreeBSD >> https://wiki.freebsd.org/TestSuite >> http://www.bsdcan.org/2014/schedule/events/462.en.html >> >> While those links gave good general overviews of kyua, >> and also how to use it within the structure of /usr/tests on >> FreeBSD, I did not get a clear idea of how to use kyua >> in my own project. > > I thought I had something in the Kyua wiki pages, but I guess not. > Meh, I'll have to write some other kind of documentation or > introductory article... documentation is currently not very good, I > agree. A topic like this is generally done in the handbook. > What kind of text would help you most? A step-by-step tutorial maybe? > Big parts of the process may be tied to the build system you use > though, and I only know the BSD build systems and Automake/autoconf... I would probably focus on examples of how to integrate things in FreeBSD in the FreeBSD handbook. Thanks! -Garrett