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