From owner-freebsd-testing@FreeBSD.ORG Wed Mar 19 23:05:01 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 D0298FB9 for ; Wed, 19 Mar 2014 23:05:01 +0000 (UTC) Received: from mail-ve0-x236.google.com (mail-ve0-x236.google.com [IPv6:2607:f8b0:400c:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8F62EB26 for ; Wed, 19 Mar 2014 23:05:01 +0000 (UTC) Received: by mail-ve0-f182.google.com with SMTP id jw12so32052veb.41 for ; Wed, 19 Mar 2014 16:05:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=FRm4bF/Bt7YLeH52Wo+wWLdUBO/J8Kgz2UyxhWUQw3M=; b=kqUbHHX+IOv8tGiXi521oRcKz/ZogIgRb3/jazqPahFPwBqdxwjM/9Tk0MfHt4mRWT n7U0D15AFfUegrFMqDsTRXoduAcmCTtgMGUxoUMV6E8TYj0zJXN7N8WTu0DAYE047/5W jI+rN+w2ohBozFbzebbYVb0lBgUmfAIHESWXzZ7IHxs5sNVe12HC/3MDaknpBw+ycAac 8lOka9XnFM5vWXcqE514zO/joU9w9DXFzU1eRYEyc/GKNM3EBR637zgBrTBXSmIoBEBQ B9XW/vqTyFI9KYhyGJsL42rR2oAf5PrYSY5Ejval9rjy1SHJynit0d4gQxLwSGxAUdrE XXzQ== MIME-Version: 1.0 X-Received: by 10.52.141.105 with SMTP id rn9mr1613217vdb.44.1395270300719; Wed, 19 Mar 2014 16:05:00 -0700 (PDT) Sender: asomers@gmail.com Received: by 10.58.231.105 with HTTP; Wed, 19 Mar 2014 16:05:00 -0700 (PDT) In-Reply-To: <16437CC5729B5345AF77F816513376E812981CA4@MX103CL02.corp.emc.com> References: <16437CC5729B5345AF77F816513376E812981CA4@MX103CL02.corp.emc.com> Date: Wed, 19 Mar 2014 17:05:00 -0600 X-Google-Sender-Auth: qM_RZi10rYn6Ew9_kRoYZtkOZLs Message-ID: Subject: Re: kyua requirement testing for tap tests From: Alan Somers To: "Peel, Casey" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-testing@freebsd.org" 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: Wed, 19 Mar 2014 23:05:01 -0000 On Wed, Mar 19, 2014 at 3:47 PM, Peel, Casey wrote: > The src/usr.sbin/sed/tests/multi_test.sh test requires the /usr/share/dic= t/words file but it doesn't explicitly state this. We don't ship that file = and thus the test fails. What is the correct way to specify requirements fo= r tap tests such that kyua skips this test if it doesn't exist? The only op= tion I've come up with thus far is commenting out the multi_test suite alto= gether from the Makefile. You need to set the required_files metadata variable for the test program. I don't think that the TAP API has a way to do that, but can you do it in the Kyuafile like this? tap_test_program(name=3D"multi_test", required_files=3D"/usr/share/dict/wor= ds") -Alan > > -- Casey > > -- > Performance Test Ninja > casey.peel@isilon.com / 206.777.7945 > > _______________________________________________ > freebsd-testing@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-testing > To unsubscribe, send any mail to "freebsd-testing-unsubscribe@freebsd.org= "