xref: /kvm-unit-tests/arm/unittests.cfg (revision 4b5caf0c5621cd74baca7faad994777a98793c34)
1# Define your new unittest following the convention:
2# [unittest_name]
3# file = foo.flat # Name of the flat file to be used
4# smp  = 2        # Number of processors the VM will use during this test
5#                 # Use $MAX_SMP to use the maximum the host supports.
6# extra_params = -append <params...> # Additional parameters used
7# arch = arm|arm64                   # Only if test case is specific to one
8# groups = group1 group2 # Used to identify test cases with run_tests -g ...
9# accel = kvm|tcg # Optionally specify if test must run with kvm or tcg.
10#                 # If not specified, then kvm will be used when available.
11
12#
13# Test that the configured number of processors (smp = <num>), and
14# that the configured amount of memory (-m <MB>) are correctly setup
15# by the framework.
16#
17[selftest-setup]
18file = selftest.flat
19smp = 2
20extra_params = -m 256 -append 'setup smp=2 mem=256'
21groups = selftest
22
23# Test vector setup and exception handling (kernel mode).
24[selftest-vectors-kernel]
25file = selftest.flat
26extra_params = -append 'vectors-kernel'
27groups = selftest
28
29# Test vector setup and exception handling (user mode).
30[selftest-vectors-user]
31file = selftest.flat
32extra_params = -append 'vectors-user'
33groups = selftest
34
35# Test SMP support
36[selftest-smp]
37file = selftest.flat
38smp = $MAX_SMP
39extra_params = -append 'smp'
40groups = selftest
41