Added --tap option to client based test runs
This patch series adds some basic TAP support to the Autotest client.
The reason behind it is to integrate Autotest into our internal testing
system which is based on TAP (Test Anything Protocol)[0] known from
Perl's CPAN. While doing that, my main goal was to be as less intrusive
as possible. Also, the TAP support is completely optional.
I'd like to collect some feedback on what might be required to get the
TAP support committed to Autotest.
Example of running the hackbench benchmark w/ TAP.
client/bin/autotest --tap client/tests/hackbench/control
That will give you some additional *.tap files (status.tap, keyval.tap)
# find client/results -iname "*tap"
client/results/default/hackbench/results/keyval.tap
client/results/default/hackbench/status.tap
client/results/default/hackbench/keyval.tap
client/results/default/status.tap
Further, it creates a tar.gz containing all *.tap files and a meta.yml
catalog suitable for TAP::Archive [1]
[0] http://en.wikipedia.org/wiki/Test_Anything_Protocol
http://szabgab.com/blog/2009/04/
1239191451.html
[1] http://www.ietf.org/mail-archive/web/tap/current/msg00455.html
Signed-off-by: Frank Becker <Frank.Becker@amd.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@5068 592f7852-d20e-0410-864c-8624ca9c26a4