xref: /freebsd/contrib/kyua/examples/kyua.conf (revision 257e70f1d5ee61037c8c59b116538d3b6b1427a2)
1b0d29bc4SBrooks Davis-- Copyright 2011 The Kyua Authors.
2b0d29bc4SBrooks Davis-- All rights reserved.
3b0d29bc4SBrooks Davis--
4b0d29bc4SBrooks Davis-- Redistribution and use in source and binary forms, with or without
5b0d29bc4SBrooks Davis-- modification, are permitted provided that the following conditions are
6b0d29bc4SBrooks Davis-- met:
7b0d29bc4SBrooks Davis--
8b0d29bc4SBrooks Davis-- * Redistributions of source code must retain the above copyright
9b0d29bc4SBrooks Davis--   notice, this list of conditions and the following disclaimer.
10b0d29bc4SBrooks Davis-- * Redistributions in binary form must reproduce the above copyright
11b0d29bc4SBrooks Davis--   notice, this list of conditions and the following disclaimer in the
12b0d29bc4SBrooks Davis--   documentation and/or other materials provided with the distribution.
13b0d29bc4SBrooks Davis-- * Neither the name of Google Inc. nor the names of its contributors
14b0d29bc4SBrooks Davis--   may be used to endorse or promote products derived from this software
15b0d29bc4SBrooks Davis--   without specific prior written permission.
16b0d29bc4SBrooks Davis--
17b0d29bc4SBrooks Davis-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18b0d29bc4SBrooks Davis-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19b0d29bc4SBrooks Davis-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20b0d29bc4SBrooks Davis-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21b0d29bc4SBrooks Davis-- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22b0d29bc4SBrooks Davis-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23b0d29bc4SBrooks Davis-- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24b0d29bc4SBrooks Davis-- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25b0d29bc4SBrooks Davis-- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26b0d29bc4SBrooks Davis-- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27b0d29bc4SBrooks Davis-- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28b0d29bc4SBrooks Davis
29b0d29bc4SBrooks Davis-- Example file for the configuration of Kyua.
30b0d29bc4SBrooks Davis--
31b0d29bc4SBrooks Davis-- All the values shown here do not reflect the default values that Kyua
32b0d29bc4SBrooks Davis-- is using on this installation: these are just fictitious settings that
33b0d29bc4SBrooks Davis-- may or may not work.
34b0d29bc4SBrooks Davis--
35b0d29bc4SBrooks Davis-- To write your own configuration file, it is recommended that you start
36b0d29bc4SBrooks Davis-- from a blank file and then define only those settings that you want to
37b0d29bc4SBrooks Davis-- override.  If you want to use this file as a template, you will have
38b0d29bc4SBrooks Davis-- to comment out all the settings first to prevent any side-effects.
39b0d29bc4SBrooks Davis
40b0d29bc4SBrooks Davis-- The file must start by declaring the name and version of its format.
41b0d29bc4SBrooks Davissyntax(2)
42b0d29bc4SBrooks Davis
43b0d29bc4SBrooks Davis-- Name of the system architecture (aka processor type).
44b0d29bc4SBrooks Davisarchitecture = "x86_64"
45b0d29bc4SBrooks Davis
46*257e70f1SIgor Ostapenko-- List of execution environments.
47*257e70f1SIgor Ostapenkoexecenvs = "host jail"
48*257e70f1SIgor Ostapenko
49b0d29bc4SBrooks Davis-- Maximum number of jobs (such as test case runs) to execute concurrently.
50b0d29bc4SBrooks Davisparallelism = 16
51b0d29bc4SBrooks Davis
52b0d29bc4SBrooks Davis-- Name of the system platform (aka machine type).
53b0d29bc4SBrooks Davisplatform = "amd64"
54b0d29bc4SBrooks Davis
55b0d29bc4SBrooks Davis-- The name or UID of the unprivileged user.
56b0d29bc4SBrooks Davis--
57b0d29bc4SBrooks Davis-- If set, this user must exist in the system and his privileges will be
58b0d29bc4SBrooks Davis-- used to run test cases that need regular privileges when Kyua is
59b0d29bc4SBrooks Davis-- executed as root.
60b0d29bc4SBrooks Davisunprivileged_user = "nobody"
61b0d29bc4SBrooks Davis
62b0d29bc4SBrooks Davis-- Set actual configuration properties for the test suite named 'kyua'.
63b0d29bc4SBrooks Davistest_suites.kyua.run_coredump_tests = "false"
64b0d29bc4SBrooks Davis
65b0d29bc4SBrooks Davis-- Set fictitious configuration properties for the test suite named 'FreeBSD'.
66b0d29bc4SBrooks Davistest_suites.FreeBSD.iterations = "1000"
67b0d29bc4SBrooks Davistest_suites.FreeBSD.run_old_tests = "false"
68b0d29bc4SBrooks Davis
69b0d29bc4SBrooks Davis-- Set fictitious configuration properties for the test suite named 'NetBSD'.
70b0d29bc4SBrooks Davistest_suites.NetBSD.file_systems = "ffs lfs ext2fs"
71b0d29bc4SBrooks Davistest_suites.NetBSD.iterations = "100"
72b0d29bc4SBrooks Davistest_suites.NetBSD.run_broken_tests = "true"
73