0
|
1 |
@echo OFF
|
|
2 |
|
|
3 |
rem Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
4 |
rem All rights reserved.
|
|
5 |
rem This component and the accompanying materials are made available
|
|
6 |
rem under the terms of "Eclipse Public License v1.0"
|
|
7 |
rem which accompanies this distribution, and is available
|
|
8 |
rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
9 |
rem
|
|
10 |
rem Initial Contributors:
|
|
11 |
rem Nokia Corporation - initial contribution.
|
|
12 |
rem
|
|
13 |
rem Contributors:
|
|
14 |
rem
|
|
15 |
rem Description:
|
|
16 |
rem DT-coredump-server-003.bat
|
|
17 |
rem
|
|
18 |
|
|
19 |
:while
|
|
20 |
if "%1"=="" goto Main
|
|
21 |
if "%1"=="/d" goto DisplayTestInfo
|
|
22 |
if "%1"=="/?" goto DisplayHelp
|
|
23 |
shift
|
|
24 |
goto while
|
|
25 |
|
|
26 |
:DisplayHelp
|
|
27 |
echo.
|
|
28 |
echo Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
29 |
echo All rights reserved.
|
|
30 |
echo.
|
|
31 |
echo Usage: DT-coredump-server-003.bat [/desc] [/?]
|
|
32 |
echo.
|
|
33 |
echo Display Usage /?
|
|
34 |
echo Display Description /d
|
|
35 |
exit /B n
|
|
36 |
|
|
37 |
:DisplayTestInfo
|
|
38 |
echo.
|
|
39 |
echo Test Description:
|
|
40 |
echo Trusted CDS should be able to retrieve trace data via the new data source API
|
|
41 |
exit /B n
|
|
42 |
|
|
43 |
:Main
|
|
44 |
call:CleanFlashPartition
|
|
45 |
call:CrashBoard
|
|
46 |
call:Sleep
|
|
47 |
call:Validate
|
|
48 |
exit /B n
|
|
49 |
|
|
50 |
:CleanFlashPartition
|
|
51 |
call testdriver run -p armv5 -b udeb -s file:/${sourceroot}\tcds_kernel\group\tcds_kernel.driver#system_crash.flash_utility.clean_partition
|
|
52 |
goto:eof
|
|
53 |
|
|
54 |
:CrashBoard
|
|
55 |
call testdriver run -p armv5 -b udeb -s file:/${sourceroot}\tcds_kernel\group\tcds_kernel.driver#system_crash.crash_system.crash_data_read_with_trace
|
|
56 |
goto:eof
|
|
57 |
|
|
58 |
:Sleep
|
|
59 |
call ..\util\sleepandrestart.bat
|
|
60 |
goto:eof
|
|
61 |
|
|
62 |
:Validate
|
|
63 |
call testdriver run -p armv5 -b udeb -s file:/${sourceroot}\tcds_kernel\group\tcds_kernel.driver#system_crash.coredump-server.coredump-server-003
|
|
64 |
goto:eof
|
|
65 |
|