dbgsrv/coredumpserver/test/automatictests/tcds_kernel/batch/tests/DT-coredump-monitor-002.bat
changeset 0 c6b0df440bee
equal deleted inserted replaced
-1:000000000000 0:c6b0df440bee
       
     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 
       
    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) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
    28 echo	All rights reserved.
       
    29 echo.
       
    30 echo		Usage:	DT-coredump-monitor-002.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		Ensure build time configuration parameters are correct
       
    40 exit /B n
       
    41 
       
    42 :Main
       
    43 call:CleanFlashPartition
       
    44 call:TestScmConfig
       
    45 exit /B n
       
    46 
       
    47 :CleanFlashPartition
       
    48 call testdriver run -p armv5 -b udeb -s file:/${sourceroot}\tcds_kernel\group\tcds_kernel.driver#system_crash.flash_utility.clean_entire_partition
       
    49 goto:eof
       
    50 
       
    51 :TestScmConfig
       
    52 echo Testing scm config with various values
       
    53 call testdriver run -p armv5 -b udeb -s file:/${sourceroot}/tcds_kernel/group/tcds_kernel.driver#system_crash.coredump-monitor.coredump-monitor-002
       
    54 goto:eof