diff -r 000000000000 -r c6b0df440bee dbgsrv/coredumpserver/test/automatictests/tcds_kernel/batch/tests/DT-formatters-SELF-0011.bat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dbgsrv/coredumpserver/test/automatictests/tcds_kernel/batch/tests/DT-formatters-SELF-0011.bat Tue Mar 02 10:33:16 2010 +0530 @@ -0,0 +1,70 @@ +@echo OFF + +rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +rem All rights reserved. +rem This component and the accompanying materials are made available +rem under the terms of "Eclipse Public License v1.0" +rem which accompanies this distribution, and is available +rem at the URL "http://www.eclipse.org/legal/epl-v10.html". +rem +rem Initial Contributors: +rem Nokia Corporation - initial contribution. +rem +rem Contributors: +rem +rem Description: +rem Batch file to run this test case + +:while +if "%1"=="" goto Main +if "%1"=="/d" goto DisplayTestInfo +if "%1"=="/?" goto DisplayHelp +shift +goto while + +:DisplayHelp +echo. +echo Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +echo All rights reserved. +echo. +echo Usage: DT-coredump-SELF-0011.bat [/desc] [/?] +echo. +echo Display Usage /? +echo Display Description /d +exit /B n + +:DisplayTestInfo +echo. +echo Test Description: +echo For system crashes the SELF file should not contain variant specific data for a system crash when the +echo SCM is not configured to do +exit /B n + +:Main +call:CleanFlashPartition +call:ConfigureToNotHoldVariantSpecificData +call:CrashBoard +call:Sleep +call:Validate +exit /B n + +:CleanFlashPartition +call testdriver run -p armv5 -b udeb -s file:/${sourceroot}\tcds_kernel\group\tcds_kernel.driver#system_crash.flash_utility.clean_partition +goto:eof + +:ConfigureToNotHoldVariantSpecificData +call testdriver run -p armv5 -b udeb -s file:/${sourceroot}\tcds_kernel\group\tcds_kernel.driver#system_crash.configureScm.dontDumpVariantData +goto:eof + +:CrashBoard +call testdriver run -p armv5 -b udeb -s file:/${sourceroot}\tcds_kernel\group\tcds_kernel.driver#system_crash.crash_system.crash_data_read +goto:eof + +:Sleep +call ..\util\sleepandrestart.bat +goto:eof + +:Validate +call testdriver run -p armv5 -b udeb -s file:/${sourceroot}\tcds_kernel\group\tcds_kernel.driver#system_crash.formatters-SELF.formatters-SELF-0011 +goto:eof +