secureswitools/swisistools/test/tinterpretsisinteg/interpretsisb002c.bat
author Simon Howkins <simonh@symbian.org>
Mon, 22 Nov 2010 12:04:39 +0000
branchRCL_3
changeset 84 e6c5e34cd9b9
parent 0 ba25891c3a9e
permissions -rw-r--r--
Adjusted to avoid exports, etc, from a top-level bld.inf

@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 testcaseB002c
call makesis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataB002\dep3z.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\dep3z.sis > NUL
call makesis -s \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataB002\depdat1z.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataB002\depdat1z.sis > NUL
call makesis -s \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataB002\depdat2z.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataB002\depdat2z.sis > NUL
call makesis -s \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataB002\depdat3z.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataB002\depdat3z.sis > NUL

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

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