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 = 1 17extra_params = -m 256 -append 'setup smp=1 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 25arch = arm 26 27# Test vector setup and exception handling (user mode). 28[selftest::vectors-user] 29file = selftest.flat 30extra_params = -append 'vectors-user' 31groups = selftest 32arch = arm 33