kyua requirement testing for tap tests

Alan Somers asomers at
Wed Mar 19 23:05:01 UTC 2014

On Wed, Mar 19, 2014 at 3:47 PM, Peel, Casey <casey.peel at> wrote:
> The src/usr.sbin/sed/tests/ test requires the /usr/share/dict/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 for tap tests such that kyua skips this test if it doesn't exist? The only option I've come up with thus far is commenting out the multi_test suite altogether 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="multi_test", required_files="/usr/share/dict/words")


> -- Casey
> --
> Performance Test Ninja
> casey.peel at<mailto:casey.peel at> / 206.777.7945
> _______________________________________________
> freebsd-testing at mailing list
> To unsubscribe, send any mail to "freebsd-testing-unsubscribe at"

More information about the freebsd-testing mailing list