|
1 @rem |
|
2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 @rem All rights reserved. |
|
4 @rem This component and the accompanying materials are made available |
|
5 @rem under the terms of the License "Eclipse Public License v1.0" |
|
6 @rem which accompanies this distribution, and is available |
|
7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 @rem |
|
9 @rem Initial Contributors: |
|
10 @rem Nokia Corporation - initial contribution. |
|
11 @rem |
|
12 @rem Contributors: |
|
13 @rem |
|
14 @rem Description: |
|
15 @rem |
|
16 |
|
17 :: This batch file creates sis file/files |
|
18 @ECHO OFF |
|
19 GOTO %1 |
|
20 :A |
|
21 REM testcaseINC124436 1 Installing unicode filenames |
|
22 call makesis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdatainc124436\inc124436.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\inc124436.sis > NUL |
|
23 if not exist .\cdrive mkdir .\cdrive > NUL |
|
24 if not exist .\romdrive mkdir .\romdrive > NUL |
|
25 call interpretsis -z .\romdrive -c .\cdrive -s /epoc32/winscw/c/tswi/tinterpretsisinteg/sisfiles/inc124436.sis -w info -l /epoc32/winscw/c/interpretsis_test_harness.txt |
|
26 IF NOT %errorlevel%==0 GOTO LAST |
|
27 ECHO ***ERRORCODE*** %errorlevel% PASS>>/epoc32/winscw/c/interpretsis_test_harness.txt |
|
28 GOTO END |
|
29 |
|
30 :B |
|
31 REM testcaseINC124436 2 Re-Installing unicode filenames |
|
32 call makesis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdatainc124436\inc124436.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\inc124436.sis > NUL |
|
33 if not exist .\cdrive mkdir .\cdrive > NUL |
|
34 if not exist .\romdrive mkdir .\romdrive > NUL |
|
35 call interpretsis -z .\romdrive -c .\cdrive -s /epoc32/winscw/c/tswi/tinterpretsisinteg/sisfiles/inc124436.sis -w info -l /epoc32/winscw/c/interpretsis_test_harness.txt |
|
36 call interpretsis -z .\romdrive -c .\cdrive -s /epoc32/winscw/c/tswi/tinterpretsisinteg/sisfiles/inc124436.sis -w info -l /epoc32/winscw/c/interpretsis_test_harness.txt |
|
37 IF NOT %errorlevel%==0 GOTO LAST |
|
38 ECHO ***ERRORCODE*** %errorlevel% PASS>>/epoc32/winscw/c/interpretsis_test_harness.txt |
|
39 GOTO END |
|
40 |
|
41 :LAST |
|
42 ECHO ***ERRORCODE*** %errorlevel% FAIL>>/epoc32/winscw/c/interpretsis_test_harness.txt |
|
43 :END |