1 .\" Copyright 2012 Google Inc.
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions are
8 .\" * Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" * Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
13 .\" * Neither the name of Google Inc. nor the names of its contributors
14 .\" may be used to endorse or promote products derived from this software
15 .\" without specific prior written permission.
17 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18 .\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19 .\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20 .\" A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21 .\" OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22 .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23 .\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 .\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 .Nd Scriptable interface to interact with ATF test programs
38 .Op Ar subcommand_flags
39 .Op Ar subcommand_args
42 provides a scriptable interface to interact with test programs that implement
44 .Xr kyua-atf-interface 7
46 This manual page describes the specific features that apply to this specific
47 tester. For the generic manual page, which describes the command-line interface
50 .Ss Results conversion
51 The result format outputted by
54 .Xr kyua-tester-result 5 )
55 is more restricted than what the ATF test case itself can output. The following
56 list details maps ATF test results to their generic results:
57 .Bl -tag -width expectedXfailureXX
67 if the test exits cleanly;
73 if there is any failure during the execution;
79 if the test terminates due to a signal;
85 if the test times out;
99 Any of the previous test results
103 in those cases where there is an unexpected problem in the communcation between
106 For example, this will happen if result file created by the ATF test case does
108 .Xr kyua-atf-interface 7
113 cannot keep any contextual information between the listing of test cases and
114 their execution, the tester cannot easily (aka cheaply) know whether a test has
115 or has not a cleanup routine when it is run. For this reason, the
119 will assume, by default, that a test case
121 a cleanup routine. This postive assumption ensures that, if the tester is
122 incorrectly executed, the test will be properly cleaned up.
124 However, as an optimization, the caller can pass
125 .Sq -v has_cleanup=false
130 that the test being run does not have a cleanup routine.
133 .Xr kyua-atf-interface 7