From owner-freebsd-testing@FreeBSD.ORG Thu Jul 24 20:02:37 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 C353A369 for ; Thu, 24 Jul 2014 20:02:37 +0000 (UTC) Received: from mail-qg0-f49.google.com (mail-qg0-f49.google.com [209.85.192.49]) (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 82F802292 for ; Thu, 24 Jul 2014 20:02:36 +0000 (UTC) Received: by mail-qg0-f49.google.com with SMTP id j107so3894998qga.8 for ; Thu, 24 Jul 2014 13:02:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=I/nCw7jG7oeTARqSDaTIdO8JtTPQCuePS1C6R+F9nW8=; b=H84LIKzuiNmzDuzmzaIQ9sChTfLtp8qky4nThRHrHvq06pAoh6pyYbpW9GwumkjYpJ gn+HbYDT9nURvtyEQkbz6AX6W2L2QBi1IOcImdG5pWosmbwTGxLfwTP164uvApBNbleF zmCu+0ZhNSj1DC1ZHXoqOW4ng1GXQ6XGNGiBwF6hzeFHjMkKvBRwseChQUTKNm0+hwaS Fn4rvkzLUXLV1dWAKHvAW3YE1+mVi4alp2INMVlVjnbDx3ff2IErbTBYe1X6arh0OgSw /T0hkuQAcJVpqEgkmzXmcLBg9C4er24tepjoIXuUUzGgyJy2iq8wcHXInawR4/mtz+aJ 6d/g== X-Gm-Message-State: ALoCoQlQQL6DIFpWyU7Cq8/+0+e7Djovg5+cB5wQYH7cn87prxGwQP0IehhYAGIwlRo6FjuXkIS4 X-Received: by 10.140.24.140 with SMTP id 12mr3791121qgr.11.1406232155665; Thu, 24 Jul 2014 13:02:35 -0700 (PDT) MIME-Version: 1.0 Sender: jmmv@meroh.net Received: by 10.96.83.99 with HTTP; Thu, 24 Jul 2014 13:02:14 -0700 (PDT) X-Originating-IP: [2620:0:1003:1007:ac3e:4bce:435e:6e80] In-Reply-To: References: From: Julio Merino Date: Thu, 24 Jul 2014 16:02:14 -0400 X-Google-Sender-Auth: yl0A756JrdUjZcemovSjk4Tfmhk Message-ID: Subject: Re: Best place to learn how to write tests which work under kyua? To: Craig Rodrigues 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:02:37 -0000 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. 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...