dbgsrv/coredumpserver/test/automatictests/tcds_kernel/batch/tests/DT-coredump-monitor-013.bat
equal
deleted
inserted
replaced
|
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 |
|
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-monitor-013.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 Processing Corrupt Crash should return KErrCorrupt, part of the negative test case of CDS ProcessCrash |
|
41 exit /B n |
|
42 |
|
43 :Main |
|
44 call:CleanFlashPartition |
|
45 call:CrashBoard |
|
46 call:ShortSleep |
|
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_prefetch_abort |
|
56 goto:eof |
|
57 |
|
58 :ShortSleep |
|
59 call ..\util\shortersleepandrestart.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-monitor.coredump-monitor-013 |
|
64 goto:eof |