Script to convert ATF test suites to Kyua

15 views
Skip to first unread message

Julio Merino

unread,
Apr 18, 2011, 12:18:12 PM4/18/11
to kyua-d...@googlegroups.com
Hello,

I have committed the kyuaify.sh script in r110 [1] which will allow
you to run existing atf test suites with the new kyua binary.

This script converts a bunch of Atffile files to Kyuafile files. It
is not very smart but it works well enough for the NetBSD test suite.
I presume that, for those doing atf experiments in FreeBSD, the script
may be helpful as well.

You can run the script like this:

$ kyuaify.sh /usr/tests

... which will wipe any existing Kyuafile in /usr/tests and create
new ones based on the installed Atffiles.

And then any of the following to enjoy the new tool :-)

$ cd /usr/tests && kyua test
$ kyua test -k /usr/tests/Kyuafile

Kind regards,

1: http://code.google.com/p/kyua/source/detail?r=110

--
Julio Merino <jm...@google.com>

Google Ireland Ltd., Gordon House, Barrow Street, Dublin 4, Ireland
Registered in Dublin, Ireland; Registration Number: 368047

Reply all
Reply to author
Forward
0 new messages