1*49cdfc7eSAndroid Build Coastguard Worker# Test run commands for default profile 2*49cdfc7eSAndroid Build Coastguard Worker# 3*49cdfc7eSAndroid Build Coastguard Worker# format: 4*49cdfc7eSAndroid Build Coastguard Worker# reldir testexec [ args ... ] 5*49cdfc7eSAndroid Build Coastguard Worker# 6*49cdfc7eSAndroid Build Coastguard Worker# First field is the relative directory of the test. 7*49cdfc7eSAndroid Build Coastguard Worker# Second field is the executable itself. 8*49cdfc7eSAndroid Build Coastguard Worker# Others field are arguments of the command. 9*49cdfc7eSAndroid Build Coastguard Worker# In the above example, the following would be done: 10*49cdfc7eSAndroid Build Coastguard Worker# cd reldir ; ./testexec args ... 11*49cdfc7eSAndroid Build Coastguard Worker# as a usual shell command. 12*49cdfc7eSAndroid Build Coastguard Worker# 13*49cdfc7eSAndroid Build Coastguard Worker# Comments are shell-like. 14*49cdfc7eSAndroid Build Coastguard Worker# 15*49cdfc7eSAndroid Build Coastguard Worker# This is to be read by scripts/run_c_files.sh and is useful 16*49cdfc7eSAndroid Build Coastguard Worker# for local or global runs (<RT_TESTS_ROOT>/run.sh or <TESTDIR>/run_auto.sh) 17*49cdfc7eSAndroid Build Coastguard Worker# 18*49cdfc7eSAndroid Build Coastguard Worker 19*49cdfc7eSAndroid Build Coastguard Worker# Pass if maximum time for signaled thread to be scheduled is less 20*49cdfc7eSAndroid Build Coastguard Worker# than threshold (us). 21*49cdfc7eSAndroid Build Coastguard Worker# Default threshold=100 us 22*49cdfc7eSAndroid Build Coastguard Workerfunc/async_handler async_handler -c 100 23*49cdfc7eSAndroid Build Coastguard Workerfunc/async_handler async_handler_jk -c 100 24*49cdfc7eSAndroid Build Coastguard Worker# Pass if maximum lock time is less than threshold (us). 25*49cdfc7eSAndroid Build Coastguard Worker# Default threshold=200 us 26*49cdfc7eSAndroid Build Coastguard Workerfunc/pi_perf pi_perf -c 200 27*49cdfc7eSAndroid Build Coastguard Worker 28*49cdfc7eSAndroid Build Coastguard Worker# Pass if maximum latency is less than criterium (us). 29*49cdfc7eSAndroid Build Coastguard Worker# Default=20 us 30*49cdfc7eSAndroid Build Coastguard Workerfunc/pthread_kill_latency pthread_kill_latency -c 20 31*49cdfc7eSAndroid Build Coastguard Worker 32*49cdfc7eSAndroid Build Coastguard Worker# Pass if all threads get preempted within max loops. 33*49cdfc7eSAndroid Build Coastguard Worker# Default max=1 34*49cdfc7eSAndroid Build Coastguard Workerfunc/prio-preempt prio-preempt -c 1 35*49cdfc7eSAndroid Build Coastguard Worker 36*49cdfc7eSAndroid Build Coastguard Worker# Pass if all delay are less than maxduration (us). 37*49cdfc7eSAndroid Build Coastguard Worker# Default maxduration=100 us 38*49cdfc7eSAndroid Build Coastguard Workerfunc/sched_latency sched_latency -d 1 -t 5 -c 100 39*49cdfc7eSAndroid Build Coastguard Worker 40*49cdfc7eSAndroid Build Coastguard Worker# Pass if ratio * average concurrent time < average sequential time 41*49cdfc7eSAndroid Build Coastguard Worker# Default ratio=0.75 42*49cdfc7eSAndroid Build Coastguard Workerfunc/matrix_mult matrix_mult -c 0.75 43*49cdfc7eSAndroid Build Coastguard Worker 44*49cdfc7eSAndroid Build Coastguard Worker# Pass if difference between the sum of thread times and process time 45*49cdfc7eSAndroid Build Coastguard Worker# is less than maxduration (s). 46*49cdfc7eSAndroid Build Coastguard Worker# Default maxduration=0.5 s 47*49cdfc7eSAndroid Build Coastguard Workerfunc/thread_clock tc-2 -c 0.5 48*49cdfc7eSAndroid Build Coastguard Worker 49*49cdfc7eSAndroid Build Coastguard Worker# Pass if maximum timer latency is less than criterium (us). 50*49cdfc7eSAndroid Build Coastguard Worker# Default latency=10 us 51*49cdfc7eSAndroid Build Coastguard Workerfunc/hrtimer-prio hrtimer-prio 52*49cdfc7eSAndroid Build Coastguard Worker 53*49cdfc7eSAndroid Build Coastguard Worker# The below tests have no pass/fail criterium. 54*49cdfc7eSAndroid Build Coastguard Workerfunc/gtod_latency gtod_latency 55*49cdfc7eSAndroid Build Coastguard Workerfunc/sched_jitter sched_jitter 56*49cdfc7eSAndroid Build Coastguard Workerfunc/periodic_cpu_load periodic_cpu_load 57*49cdfc7eSAndroid Build Coastguard Workerfunc/periodic_cpu_load periodic_cpu_load_single 58*49cdfc7eSAndroid Build Coastguard Workerfunc/prio-wake prio-wake 59*49cdfc7eSAndroid Build Coastguard Workerfunc/sched_football sched_football 60*49cdfc7eSAndroid Build Coastguard Workerfunc/pi-tests testpi-0 61*49cdfc7eSAndroid Build Coastguard Workerfunc/pi-tests testpi-1 62*49cdfc7eSAndroid Build Coastguard Workerfunc/pi-tests testpi-2 63*49cdfc7eSAndroid Build Coastguard Workerfunc/pi-tests testpi-4 64*49cdfc7eSAndroid Build Coastguard Workerfunc/pi-tests testpi-5 65*49cdfc7eSAndroid Build Coastguard Workerfunc/pi-tests testpi-6 66*49cdfc7eSAndroid Build Coastguard Workerfunc/pi-tests sbrk_mutex 67*49cdfc7eSAndroid Build Coastguard Workerfunc/rt-migrate rt-migrate 68