| Main index | Section 5 | Options |
Variables: architecture, execenvs, platform, test_suites, unprivileged_user.
Configuration files are Lua scripts. In their most basic form, their whole purpose is to assign values to variables, but the user has the freedom to implement any logic he desires to compute such values.
Any new kyua.conf file should set version to '2'.
| architecture | |
| Name of the system architecture (aka processor type). | |
| execenvs | |
|
Whitespace-separated list of execution environment names.
Only tests which require one of the given execution environments will be run. See kyuafile(5) for the list of possible execution environments. | |
| parallelism | |
| Maximum number of test cases to execute concurrently. | |
| platform | |
| Name of the system platform (aka machine type). | |
| unprivileged_user | |
|
Name or UID of the unprivileged user.
If set, the given user must exist in the system and his privileges will be used to run test cases that need regular privileges when kyua(1) is executed as root. | |
Test-suite specific configuration variables are defined inside the test_suites dictionary. The general syntax is:
test_suites.<test_suite_name>.<variable_name> = <value>
where test_suite_name is the name of the test suite, variable_name is the name of the variable to set, and value is a value. The value can be a string, an integer or a boolean.
| /usr/share/examples/kyua/kyua.conf | |
| Sample configuration file. | |
syntax(2)architecture = 'x86_64' platform = 'amd64'
The following is a more complex example that introduces the definition of per-test suite configuration variables:
syntax(2)-- Assign built-in variables. unprivileged_user = '_tests'
-- Assign test-suite variables. All of these must be strings. test_suites.NetBSD.file_systems = 'ffs ext2fs' test_suites.X11.graphics_driver = 'vesa'
| KYUA.CONF (5) | March 22, 2024 |
| Main index | Section 5 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
