1############################################################################## 2# unittest configuration 3# 4# [unittest_name] 5# file = <name>.flat # Name of the flat file to be used. 6# smp = <num> # Number of processors the VM will use 7# # during this test. Use $MAX_SMP to use 8# # the maximum the host supports. Defaults 9# # to one. 10# extra_params = -append <params...> # Additional parameters used. 11# arch = arm|arm64 # Select one if the test case is 12# # specific to only one. 13# groups = <group_name1> <group_name2> ... # Used to identify test cases 14# # with run_tests -g ... 15# accel = kvm|tcg # Optionally specify if test must run with 16# # kvm or tcg. If not specified, then kvm will 17# # be used when available. 18# timeout = <duration> # Optionally specify a timeout. 19############################################################################## 20 21# 22# Test that the configured number of processors (smp = <num>), and 23# that the configured amount of memory (-m <MB>) are correctly setup 24# by the framework. 25# 26[selftest-setup] 27file = selftest.flat 28smp = 2 29extra_params = -m 256 -append 'setup smp=2 mem=256' 30groups = selftest 31 32# Test vector setup and exception handling (kernel mode). 33[selftest-vectors-kernel] 34file = selftest.flat 35extra_params = -append 'vectors-kernel' 36groups = selftest 37 38# Test vector setup and exception handling (user mode). 39[selftest-vectors-user] 40file = selftest.flat 41extra_params = -append 'vectors-user' 42groups = selftest 43 44# Test SMP support 45[selftest-smp] 46file = selftest.flat 47smp = $MAX_SMP 48extra_params = -append 'smp' 49groups = selftest 50