Date: Wed, 19 Mar 2014 17:05:00 -0600 From: Alan Somers <asomers@freebsd.org> To: "Peel, Casey" <casey.peel@isilon.com> Cc: "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org> Subject: Re: kyua requirement testing for tap tests Message-ID: <CAOtMX2hJRRiEoS3g_Bp_c0D-bmZ7CKKF5udDNrL1kXWc2nb6BA@mail.gmail.com> In-Reply-To: <16437CC5729B5345AF77F816513376E812981CA4@MX103CL02.corp.emc.com> References: <16437CC5729B5345AF77F816513376E812981CA4@MX103CL02.corp.emc.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 19, 2014 at 3:47 PM, Peel, Casey <casey.peel@isilon.com> 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<mailto: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= "
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2hJRRiEoS3g_Bp_c0D-bmZ7CKKF5udDNrL1kXWc2nb6BA>