kyua requirement testing for tap tests
asomers at freebsd.org
Wed Mar 19 23:05:01 UTC 2014
On Wed, Mar 19, 2014 at 3:47 PM, Peel, Casey <casey.peel at isilon.com> wrote:
> The src/usr.sbin/sed/tests/multi_test.sh 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?
> -- Casey
> Performance Test Ninja
> casey.peel at isilon.com<mailto:casey.peel at isilon.com> / 206.777.7945
> freebsd-testing at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-testing-unsubscribe at freebsd.org"
More information about the freebsd-testing