|
1 rem Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 rem All rights reserved. |
|
3 rem This component and the accompanying materials are made available |
|
4 rem under the terms of "Eclipse Public License v1.0" |
|
5 rem which accompanies this distribution, and is available |
|
6 rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 rem |
|
8 rem Initial Contributors: |
|
9 rem Nokia Corporation - initial contribution. |
|
10 rem |
|
11 rem Contributors: |
|
12 rem |
|
13 rem Description: |
|
14 rem |
|
15 |
|
16 REM *********************************************** |
|
17 REM ****************** 3GP TESTS ****************** |
|
18 REM *********************************************** |
|
19 |
|
20 REM NOTE: This BAT file is intended to be run in EShell |
|
21 REM on HW only. On Emulator builds the test files already |
|
22 REM reside in the correct directories on C: so you only |
|
23 REM need to call testexecute with the desired script file. |
|
24 |
|
25 REM ============================================================= |
|
26 REM Setup |
|
27 REM ============================================================= |
|
28 |
|
29 REM Prepare memory card for test logs |
|
30 del e:\logs\testexecute\tsu_3gp_* |
|
31 md e:\logs\ |
|
32 md e:\logs\testexecute\ |
|
33 |
|
34 REM 3GP test scripts expect to find the INIs on c: |
|
35 md c:\mm\ |
|
36 copy z:\mm\tsu_3gp*.ini c:\mm\ |
|
37 |
|
38 REM ============================================================= |
|
39 REM Run tests that use test data directly from memory card (e:) |
|
40 REM ============================================================= |
|
41 |
|
42 REM Parsing tests |
|
43 testexecute z:\mm\tsu_3gp_parse_format_3gp_te.script |
|
44 move c:\logs\testexecute\tsu_3gp*.htm e:\logs\testexecute\ |
|
45 |
|
46 testexecute z:\mm\tsu_3gp_parse_format_mp4_te.script |
|
47 move c:\logs\testexecute\tsu_3gp*.htm e:\logs\testexecute\ |
|
48 |
|
49 testexecute z:\mm\tsu_3gp_parse_format_valid_te.script |
|
50 move c:\logs\testexecute\tsu_3gp*.htm e:\logs\testexecute\ |
|
51 |
|
52 testexecute z:\mm\tsu_3gp_parse_and_check_te.script |
|
53 move c:\logs\testexecute\tsu_3gp*.htm e:\logs\testexecute\ |
|
54 |
|
55 REM Composing tests |
|
56 testexecute z:\mm\tsu_3gp_compose_format_3g2_te.script |
|
57 move c:\logs\testexecute\tsu_3gp*.htm e:\logs\testexecute\ |
|
58 |
|
59 testexecute z:\mm\tsu_3gp_compose_format_3gp_te.script |
|
60 move c:\logs\testexecute\tsu_3gp*.htm e:\logs\testexecute\ |
|
61 |
|
62 testexecute z:\mm\tsu_3gp_compose_format_mp4_te.script |
|
63 move c:\logs\testexecute\tsu_3gp*.htm e:\logs\testexecute\ |
|
64 |
|
65 REM Other tests |
|
66 testexecute z:\mm\tsu_3gp_performance_te.script |
|
67 move c:\logs\testexecute\tsu_3gp*.htm e:\logs\testexecute\ |
|
68 |
|
69 testexecute z:\mm\tsu_3gp_interop_te.script |
|
70 move c:\logs\testexecute\tsu_3gp*.htm e:\logs\testexecute\ |
|
71 |
|
72 REM ============================================================= |
|
73 REM Now run tests that need to copy data into c: first |
|
74 REM ============================================================= |
|
75 |
|
76 REM Parsing tests |
|
77 md c:\3gplibrary\ |
|
78 copy e:\3gplibrary\* c:\3gplibrary\ |
|
79 |
|
80 testexecute z:\mm\tsu_3gp_parse_api_te.script |
|
81 move c:\logs\testexecute\tsu_3gp*.htm e:\logs\testexecute\ |
|
82 |
|
83 testexecute z:\mm\tsu_3gp_parse_oom1_te.script |
|
84 move c:\logs\testexecute\tsu_3gp*.htm e:\logs\testexecute\ |
|
85 |
|
86 testexecute z:\mm\tsu_3gp_parse_oom2_te.script |
|
87 move c:\logs\testexecute\tsu_3gp*.htm e:\logs\testexecute\ |
|
88 |
|
89 del c:\3gplibrary\* |
|
90 |
|
91 REM Composing tests |
|
92 testexecute z:\mm\tsu_3gp_compose_api_te.script |
|
93 move c:\logs\testexecute\tsu_3gp*.htm e:\logs\testexecute\ |
|
94 |
|
95 testexecute z:\mm\tsu_3gp_compose_oom_te.script |
|
96 move c:\logs\testexecute\tsu_3gp*.htm e:\logs\testexecute\ |
|
97 |
|
98 del c:\3gplibrary\temp\testing.mp4 |
|
99 rd c:\3gplibrary\temp\ |
|
100 rd c:\3gplibrary\ |
|
101 |
|
102 REM ============================================================= |
|
103 REM Clean up |
|
104 REM ============================================================= |
|
105 |
|
106 REM delete INI files from C: (need to make non read-only first) |
|
107 attrib c:\mm\tsu_3gp* -r |
|
108 del c:\mm\tsu_3gp* |
|
109 |