secureswitools/swisistools/test/tinterpretsisinteg/interpretsisb003f_db.bat
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 02 Sep 2010 20:34:03 +0300
changeset 67 3a625661d1ce
parent 0 ba25891c3a9e
permissions -rw-r--r--
Revision: 201033 Kit: 201035

@rem
@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 the License "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

:: This batch file creates sis file/files
@ECHO OFF
REM testcaseB003f
call makesis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataB003\dep6m.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\dep6m.sis > NUL

call makesis -s \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataB003\depdatm4z.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataB003\depdatm4z.sis > NUL

call makesis -s \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataB003\depdatm1c.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\depdatm1c.sis > NUL

IF NOT EXIST .\romdrive\system\install\NUL mkdir .\romdrive\system\install > NUL
call copy \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataB003\*.sis .\romdrive\system\install > NUL

call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\depdatm1c.sis  -w info -l /epoc32/winscw/c/interpretsis_test_harness_db.txt
call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\dep6m.sis -w info -l /epoc32/winscw/c/interpretsis_test_harness_db.txt
IF NOT %errorlevel%==-1 GOTO LAST
ECHO ***ERRORCODE*** %errorlevel% PASS>>/epoc32/winscw/c/interpretsis_test_harness_db.txt
GOTO END
:LAST
ECHO ***ERRORCODE*** %errorlevel% FAIL>>/epoc32/winscw/c/interpretsis_test_harness_db.txt
:END