xref: /kvm-unit-tests/arm/unittests.cfg (revision d95bd8f6c804027984dec6468a57cb47de556d19)
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# extra_params = -append <params...> # Additional parameters used
6# arch = arm/arm64                   # Only if test case is specific to one
7# groups = group1 group2 # Used to identify test cases with run_tests -g ...
8
9#
10# Test that the configured number of processors (smp = <num>), and
11# that the configured amount of memory (-m <MB>) are correctly setup
12# by the framework.
13#
14[selftest::setup]
15file = selftest.flat
16smp = 2
17extra_params = -m 256 -append 'setup smp=2 mem=256'
18groups = selftest
19
20# Test vector setup and exception handling (kernel mode).
21[selftest::vectors-kernel]
22file = selftest.flat
23extra_params = -append 'vectors-kernel'
24groups = selftest
25
26# Test vector setup and exception handling (user mode).
27[selftest::vectors-user]
28file = selftest.flat
29extra_params = -append 'vectors-user'
30groups = selftest
31
32# Test SMP support
33[selftest::smp]
34file = selftest.flat
35smp = $(getconf _NPROCESSORS_CONF)
36extra_params = -append 'smp'
37groups = selftest
38