Initialize Tizen 2.3
[framework/telephony/libslp-tapi.git] / wearable / TC / README.txt
1 Test-Case
2 ------------------------------------------------------------------------------
3
4  TETware is suck, but nevertheless we should use this tool.
5
6
7
8 Add TC code
9 ------------------------------------------------------------------------------
10
11 1. create your code to testcase/{your-code}.c
12 2. add '/textcase/{your-code}' to textcase/tslist file
13
14
15
16 Build
17 ------------------------------------------------------------------------------
18
19 $ ./gbs_setup.sh
20 (tizen-build-env)# cd /var/tmp/dts_fw
21 (tizen-build-env)# ./build.sh
22 (tizen-build-env)# cat results/build-tar-result-{timestamp}.journal
23 check the build log (ignore testcase/tet_xres: No such file or directory)
24 (tizen-build-env)# cat testcase/tet_captured
25 check the build log
26 (tizen-build-env)# exit
27
28
29
30 Copy to Target
31 ------------------------------------------------------------------------------
32
33 first-time: copy TETware & all build results to target
34 $ ./push.sh
35
36 after-only-update
37 $ sdb push testcase/utc_{XXX} /opt/home/tapi/testcase/
38
39
40
41 Run
42 ------------------------------------------------------------------------------
43
44 $ sdb shell
45 sh-4.1# cd /opt/home/tapi/
46 sh-4.1# ./execute.sh
47
48
49
50 Test Report
51 ------------------------------------------------------------------------------
52
53 sh-4.1# cat /opt/home/tapi/result/exec-tar-result-{timestamp}.journal
54 check FAIL case
55