menuconfig TINATEST_STRESS_CPU_CPUHOTPLUG_ENABLE bool "cpuhotplug" default n ---help--- Settings for /stress/cpu/cpuhotplug It safe to leave a blank for any settings. If not setted, TinaTest will use global settings or default settings instead. if TINATEST_STRESS_CPU_CPUHOTPLUG_ENABLE config TINATEST_STRESS_CPU_CPUHOTPLUG_COMMAND string "command" default "cpuhotplug.sh 10000 linux" ---help--- TinaTest will run this command to start testcase. It is the same as shell command which followed by argumemts. This setting is a mark of any testcase. config TINATEST_STRESS_CPU_CPUHOTPLUG_STDIN string "stdin" default "" ---help--- Redirect a string array, which is setted in this configure, to standard input. For example, "one two three four" is equivalent to enter 4 times to testcase every run_time. The first time, enter "one" with new line, the second time, enter "two" with new line, and so on. config TINATEST_STRESS_CPU_CPUHOTPLUG_FSTDIN string "fstdin" default "" ---help--- Redirect a file, which is setted in this configure, to standard input. comment " to Default && to customize" config TINATEST_STRESS_CPU_CPUHOTPLUG_INFO bool "INFO" default y if TINATEST_STRESS_CPU_CPUHOTPLUG_INFO config TINATEST_STRESS_CPU_CPUHOTPLUG_DATE bool "date" default y if TINATEST_SYS_LOCAL_INFO_DATE ---help--- Save running date and time. config TINATEST_STRESS_CPU_CPUHOTPLUG_RESOURCE bool "resource" default y if TINATEST_SYS_LOCAL_INFO_RESOURCE ---help--- Save resources for each testcase. config TINATEST_STRESS_CPU_CPUHOTPLUG_REAL_TIME_LOG bool "real_time_log" default y if TINATEST_SYS_LOCAL_INFO_REAL_TIME_LOG ---help--- Print log of testcase real time. In default, tinatest just collect all log, and print them when testcase end. endif comment " to Default && to customize" config TINATEST_STRESS_CPU_CPUHOTPLUG_LIMIT bool "LIMIT" default y if TINATEST_STRESS_CPU_CPUHOTPLUG_LIMIT config TINATEST_STRESS_CPU_CPUHOTPLUG_RUN_TIMES string "run_times" default 1 ---help--- The times to run testcase. For example: To run this testcase for 3 times, we can set this value as 3. config TINATEST_STRESS_CPU_CPUHOTPLUG_RUN_ALONE bool "run_alone" default y ---help--- Wait for finishing all previous testcase and run alone before do next. config TINATEST_STRESS_CPU_CPUHOTPLUG_RUN_PARALLEL bool "run_parallel" default flase ---help--- Run parallel for all run_times. For example: Testcae will run for 3 times one by one if run_times=3. However, if run_parallel is setted, tinatest will creates 3 processers in one time. config TINATEST_STRESS_CPU_CPUHOTPLUG_MAY_REBOOT bool "may_reboot" default y if TINATEST_SYS_LOCAL_LIMIT_MAY_REBOOT ---help--- It means that device will be rebooted while running testcase. All states of testcase will be saved in flash, and loaded after rebooting. Notices that, if may_reboot is setted, run_alone will be setted alway. config TINATEST_STRESS_CPU_CPUHOTPLUG_TESTCASE_RUN_ONCE_TIME string "testcase_run_once_time" default "" ---help--- Time limit for testcase to run once. It is in format: For example, 100s : 100 1m20s : 20 1 (or 80) 1d3h : 0 0 3 1 (or 0 0 28 or other) config TINATEST_STRESS_CPU_CPUHOTPLUG_TESTCASE_RUN_TIME string "testcase_run_time" default "" ---help--- Time limit for testcase to run. It is in format: For example, 100s : 100 1m20s : 20 1 (or 80) 1d3h : 0 0 3 1 (or 0 0 28 or other) choice prompt "timeout_with" default TINATEST_STRESS_CPU_CPUHOTPLUG_TIMEOUT_WITH_PASS ---help--- The result when testcase exit for timeout. config TINATEST_STRESS_CPU_CPUHOTPLUG_TIMEOUT_WITH_PASS bool "pass" config TINATEST_STRESS_CPU_CPUHOTPLUG_TIMEOUT_WITH_FAILED bool "failed" endchoice config TINATEST_STRESS_CPU_CPUHOTPLUG_EXIT_ONCE_FAILED bool "exit_once_failed" default n ---help--- Stop running testcase and exit once failed, even if runned times less than run_times. endif endif