|
1 @echo OFF |
|
2 |
|
3 rem Copyright (c) 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 Batch file to run this test case |
|
17 |
|
18 :while |
|
19 if "%1"=="" goto Main |
|
20 if "%1"=="/d" goto DisplayTestInfo |
|
21 if "%1"=="/?" goto DisplayHelp |
|
22 shift |
|
23 goto while |
|
24 |
|
25 :DisplayHelp |
|
26 echo. |
|
27 echo Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
28 echo All rights reserved. |
|
29 echo. |
|
30 echo Usage: DT-coredump-SELF-0011.bat [/desc] [/?] |
|
31 echo. |
|
32 echo Display Usage /? |
|
33 echo Display Description /d |
|
34 exit /B n |
|
35 |
|
36 :DisplayTestInfo |
|
37 echo. |
|
38 echo Test Description: |
|
39 echo For system crashes the SELF file should not contain variant specific data for a system crash when the |
|
40 echo SCM is not configured to do |
|
41 exit /B n |
|
42 |
|
43 :Main |
|
44 call:CleanFlashPartition |
|
45 call:ConfigureToNotHoldVariantSpecificData |
|
46 call:CrashBoard |
|
47 call:Sleep |
|
48 call:Validate |
|
49 exit /B n |
|
50 |
|
51 :CleanFlashPartition |
|
52 call testdriver run -p armv5 -b udeb -s file:/${sourceroot}\tcds_kernel\group\tcds_kernel.driver#system_crash.flash_utility.clean_partition |
|
53 goto:eof |
|
54 |
|
55 :ConfigureToNotHoldVariantSpecificData |
|
56 call testdriver run -p armv5 -b udeb -s file:/${sourceroot}\tcds_kernel\group\tcds_kernel.driver#system_crash.configureScm.dontDumpVariantData |
|
57 goto:eof |
|
58 |
|
59 :CrashBoard |
|
60 call testdriver run -p armv5 -b udeb -s file:/${sourceroot}\tcds_kernel\group\tcds_kernel.driver#system_crash.crash_system.crash_data_read |
|
61 goto:eof |
|
62 |
|
63 :Sleep |
|
64 call ..\util\sleepandrestart.bat |
|
65 goto:eof |
|
66 |
|
67 :Validate |
|
68 call testdriver run -p armv5 -b udeb -s file:/${sourceroot}\tcds_kernel\group\tcds_kernel.driver#system_crash.formatters-SELF.formatters-SELF-0011 |
|
69 goto:eof |
|
70 |