;-------------------------------------------------------------------------------
|
; 测试模块配置示例
|
;
|
; [example]
|
; display_name= "Example"
|
; activated = 1
|
; program = "example.sh"
|
; category = 0
|
; run_type = 1
|
;
|
; display_name
|
; 显示到界面的名称,字符串类型,如果需要显示双引号,可以使用以下语法:
|
; display_name= string:"Example"
|
; 区别在于后者会显示"string:"后面所有的字符,包括空格和制表符。该项能够容纳
|
; 64个英文字符,32个中文字符。如果display_name为空,测试程序不会运行。
|
;
|
; activated
|
; 0: 不测试该模块
|
; 1: 测试该模块
|
;
|
; program
|
; 模块的测试程序,该项能够容纳16个英文字符。
|
;
|
; category
|
; 0: 自动化测试模块
|
; 1: 手动测试模块
|
;
|
; run_type
|
; 0: 等待当前模块的测试程序执行完毕再运行下一个模块的测试程序
|
; 1: 不等待当前模块的测试程序执行完毕
|
; 一般为了提高整体的测试速度,对于耗时较长的测试程序建议填0,反之填1;注意,当
|
; category = 1,即手动测试模块时,该项无效。
|
;-------------------------------------------------------------------------------
|
|
;-------------------------------------------------------------------------------
|
; test_size
|
; unit: MB
|
;-------------------------------------------------------------------------------
|
[ddr]
|
display_name= "ddr"
|
activated = 1
|
program = "memtester.sh"
|
category = 0
|
freq_test = 0
|
min_freq = 0
|
max_freq = 0
|
|
;-------------------------------------------------------------------------------
|
; test_size
|
; unit: MB
|
;-------------------------------------------------------------------------------
|
[emmc]
|
display_name= "emmc"
|
activated = 1
|
program = emmc_test
|
category = 0
|
freq_test = 0
|
min_freq = 0
|
max_freq = 0
|
|
;-------------------------------------------------------------------------------
|
; emmc and ddr
|
;-------------------------------------------------------------------------------
|
|
[ddr_emmc]
|
display_name= "ddr_emmc"
|
activated = 0
|
program = "ddr_emmc_test"
|
category = 0
|
freq_test = 0
|
min_freq = 0
|
max_freq = 0
|
|
;-------------------------------------------------------------------------------
|
; lcd test
|
; start_key: value: "KEY_BACK" "KEY_VOLUMEUP" "KEY_VOLUMEDOWN" "KEY_HOME" "KEY_MENU"
|
; "KEY_ENTER" "KEY_ALL"
|
; key_times: press start_key key_times will enter lcd test mode.
|
; all_key_change: if 1, all keys will change the picture(after test started).
|
;-------------------------------------------------------------------------------
|
|
[Lcd]
|
display_name= "lcd"
|
activated = 1
|
program = "lcd test"
|
category = 1
|
run_type = 1
|
start_key = "KEY_VOLUMEUP"
|
key_times = 3
|
all_key_change = 1
|
|
|
[rtc]
|
display_name= "rtc"
|
activated = 1
|
program = "rtctester.sh"
|
category = 0
|
run_type = 1
|
module_args = "20121113.160145"
|
|
[sim]
|
display_name= "sim"
|
activated = 0
|
program = "simtester.sh"
|
category = 0
|
run_type = 1
|
;-------------------------------------------------------------------------------
|
; module_path
|
; The full path of wifi module file.
|
; module_args
|
; The arguments of wifi module.
|
;-------------------------------------------------------------------------------
|
[wifi]
|
display_name= "wlan"
|
activated = 0
|
program = "wifitester.sh"
|
category = 0
|
run_type = 1
|
module_path = "/system/vendor/modules/8192cu.ko"
|
module_args =
|
|
[cpu]
|
display_name= "cpu"
|
activated = 0
|
program = ""
|
category = 0
|
|
;-------------------------------------------------------------------------------
|
; use_ping
|
; Whether to use ping cmd to test ethernet, 1:Yes 0:No
|
; local_addr
|
; The ip address of local device. if use_ping is 1
|
; ping_addr
|
; The destination address that use to ping test. if use_ping is 1
|
;-------------------------------------------------------------------------------
|
[lan]
|
display_name= "Lan"
|
activated = 0
|
program = ""
|
category = 0
|
run_type = 1
|
use_ping = 0
|
local_addr = "172.16.8.177"
|
ping_addr = "172.16.8.1"
|
|
;-------------------------------------------------------------------------------
|
; support sensor type
|
; 1 : GSENSOR
|
; 2 : GYROSCOPE
|
; 4 : COMPASS
|
; 8 : LSENSOR
|
; 16 : PSENSOR
|
; 32 : GSENSOR_CALIBRATE
|
;
|
; 3 : GSENSOR|GYROSCOPE
|
; 7 : GSENSOR|GYROSCOPE|COMPASS
|
; 39 : GSENSOR|GYROSCOPE|COMPASS|GSENSOR_CALIBRATE
|
; 15 : GSENSOR|GYROSCOPE|COMPASS|LSENSOR
|
; 31 : GSENSOR|GYROSCOPE|COMPASS|LSENSOR|PSENSOR
|
; 63 : GSENSOR|GYROSCOPE|COMPASS|LSENSOR|PSENSOR|GSENSOR_CALIBRATE
|
;-------------------------------------------------------------------------------
|
[allsensor]
|
display_name= "allsensor"
|
activated = 0
|
program = ""
|
category = 0
|
run_type = 1
|
sensor_type = 39
|
|
;-------------------------------------------------------------------------------
|
; module_path
|
; The full path of g-sensor module file.
|
; device_name
|
; The name of g-sensor device.
|
;-------------------------------------------------------------------------------
|
[gsensor]
|
display_name= "gsensor"
|
activated = 0
|
program = "gsensortester.sh"
|
category = 0
|
run_type = 1
|
module_count= 1
|
calibrate = 0
|
|
;-------------------------------------------------------------------------------
|
; test_size
|
; Test size for nand read and write test.
|
;-------------------------------------------------------------------------------
|
[nand]
|
display_name= "nand"
|
activated = 0
|
program = "nandtester.sh"
|
category = 0
|
run_type = 1
|
test_size = 128
|
|
[bluetooth]
|
display_name= "bluetooth"
|
activated = 0
|
program = ""
|
category = 0
|
run_type = 1
|
chip_type = "" ; rk903, mt6622, rda587x, rda5990, rtk8723as, rtk8723bs, rtk8723au, rtk8723bu, bk3515
|
|
[sdcard]
|
display_name= "SDcard"
|
activated = 1
|
program = "mmctester.sh"
|
category = 0
|
run_type = 1
|
|
[udisk]
|
display_name= "Udisk"
|
activated = 1
|
program = "udisktester.sh"
|
category = 0
|
run_type = 1
|
|
;-------------------------------------------------------------------------------
|
; sound_file
|
; The full path of sound file.
|
; samplerate
|
; The samplerate of sound file.
|
; support_mode
|
; 0 : 480I
|
; 1 : 576I
|
; 2 : 480P
|
; 3 : 576P
|
; 4 : 720P 50HZ
|
; 5 : 720P 60HZ
|
; 6 : 1080I 50HZ
|
; 7 : 1080I 60HZ
|
; 8 : 1080P 24HZ
|
; 9 : 1080P 50HZ
|
; 10: 1080P 60HZ
|
;-------------------------------------------------------------------------------
|
[hdmi]
|
display_name= "HDMI"
|
activated = 0
|
program = "hdmitester"
|
category = 0
|
run_type = 1
|
sound_file = "/res/codectest.pcm"
|
;samplerate = 48000
|
;support_mode= 2
|
|
;-------------------------------------------------------------------------------
|
; module_path
|
; The full path of key module file.
|
;-------------------------------------------------------------------------------
|
[Key]
|
display_name= "Key"
|
activated = 1
|
program = "keytester"
|
category = 1
|
run_type = 1
|
;module_path =
|
|
;-------------------------------------------------------------------------------
|
; module_path
|
; The full path of ir module file.
|
;-------------------------------------------------------------------------------
|
[ir]
|
display_name= "红外"
|
activated = 0
|
program = "irtester"
|
category = 1
|
run_type = 1
|
|
;-------------------------------------------------------------------------------
|
; delay
|
; delay ? second before recording
|
;-------------------------------------------------------------------------------
|
[Codec]
|
display_name= "Codec"
|
activated = 0
|
program = "case1" ; case1 : 先放后录模式,测试效率相对低,使用喇叭时不会有啸叫,可在使用喇叭时选择此模式
|
; case2 : 边录边放模式,测试效率高,使用喇叭时会有啸叫,可在使用耳机时选择此模式
|
category = 1
|
run_type = 1
|
delay = 5
|
volume = 40
|
|
[play]
|
display_name= "audioplay"
|
activated = 1
|
program =
|
category = 1
|
run_type = 1
|
delay = 5
|
volume = 40
|
|
[record]
|
display_name= "audiorecord"
|
activated = 1
|
program =
|
category = 1
|
run_type = 1
|
delay = 5
|
volume = 40
|
|
;-------------------------------------------------------------------------------
|
; type
|
; 0: rtp
|
; 1: ctp
|
; module_path
|
; The full path of tp module.
|
;-------------------------------------------------------------------------------
|
[tp]
|
display_name= "tp"
|
type = 0
|
|
;-------------------------------------------------------------------------------
|
; moudle battery
|
;-------------------------------------------------------------------------------
|
[battery]
|
display_name= "battery"
|
activated = 1
|
program = "battery_test"
|
category = 1
|
run_type = 1
|
|
;-------------------------------------------------------------------------------
|
; module_count
|
; The number of module need to be insmod.
|
; modulex_path
|
; 'x' is the index of module, starts from 0.
|
;-------------------------------------------------------------------------------
|
[camera]
|
display_name = "camera"
|
activated = 1
|
category = 0
|
program = "camerates.sh"
|
number = 2
|
|
;-------------------------------------------------------------------------------
|
; manual_menu_name
|
; manual test case menu name, 32bytes.
|
; auto_menu_name
|
; auto test case menu name, 32bytes.
|
; clear_button_name
|
; clear screen button name, 8bytes.
|
; font_size
|
; test case font display size, valid value: 20pixel(default), 24pixel.
|
; height_adjust
|
; adjust height of manual test case and auto test case.
|
;
|
; Color Index
|
; 0: White
|
; 1: Yellow
|
; 2: Green
|
; 3: Cyan
|
; 4: Magenta
|
; 5: Red
|
; 6: Blue
|
; 7: Black
|
;
|
; menu_bgcolor
|
; The background color index of test case category menu.
|
; menu_fgcolor
|
; The foreground color index of test case category menu.
|
; item_init_bgcolor
|
; The background color index of test case item init status.
|
; item_init_fgcolor
|
; The foreground color index of test case item init status.
|
; item_ok_bgcolor
|
; The background color index of test case item OK status.
|
; item_ok_fgcolor
|
; The foreground color index of test case item OK status.
|
; item_fail_bgcolor
|
; The background color index of test case item fail status.
|
; item_fail_fgcolor
|
; The foreground color index of test case item fail status.
|
;
|
; pass_str
|
; The string display after test case display_name when test OK.
|
; fail_str
|
; The string display after test case display_name when test Fail.
|
;-------------------------------------------------------------------------------
|
[df_view]
|
manual_menu_name = "手动测试项"
|
auto_menu_name = "自动测试项"
|
clear_button_name = "清屏"
|
font_size = 20
|
height_adjust = 56
|
menu_bgcolor = 1
|
menu_fgcolor = 7
|
|
item_init_bgcolor = 7
|
item_init_fgcolor = 0
|
item_ok_bgcolor = 7
|
item_ok_fgcolor = 6
|
item_fail_bgcolor = 7
|
item_fail_fgcolor = 5
|
tp_draw_color = 0
|
|
;item_init_bgcolor = 0
|
;item_init_fgcolor = 7
|
;item_ok_bgcolor = 0
|
;item_ok_fgcolor = 6
|
;item_fail_bgcolor = 0
|
;item_fail_fgcolor = 5
|
;tp_draw_color = 7
|
|
pass_str = "通过"
|
fail_str = "失败"
|