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 = ppc64 # 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# check = <path>=<value> # check a file for a particular value before running 20# # a test. The check line can contain multiple files 21# # to check separated by a space but each check 22# # parameter needs to be of the form <path>=<value> 23############################################################################## 24 25# 26# Test that the configured number of processors (smp = <num>), and 27# that the configured amount of memory (-m <MB>) are correctly setup 28# by the framework. 29# 30[selftest-setup] 31file = selftest.elf 32smp = 2 33extra_params = -m 256 -append 'setup smp=2 mem=256' 34groups = selftest 35 36[spapr_hcall] 37file = spapr_hcall.elf 38 39[rtas-get-time-of-day] 40file = rtas.elf 41timeout = 5 42extra_params = -append "get-time-of-day date=$(date +%s)" 43groups = rtas 44 45[rtas-set-time-of-day] 46file = rtas.elf 47extra_params = -append "set-time-of-day" 48timeout = 5 49groups = rtas 50 51[emulator] 52file = emulator.elf 53