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 "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 @ECHO OFF |
|
17 REM preq1835-interpretsis-08 |
|
18 REM PREQ1835 preq1835-interpretsis-08 - Verify if ROM SIS STUB and Pre-Provisioned registration files are processed. This is a positive testcase |
|
19 |
|
20 if not exist .\cdrive mkdir .\cdrive > NUL |
|
21 if not exist .\romdrive mkdir .\romdrive > NUL |
|
22 if not exist .\romdrive\private mkdir .\romdrive\private > NUL |
|
23 if not exist .\romdrive\private\10003a3f mkdir .\romdrive\private\10003a3f > NUL |
|
24 if not exist .\romdrive\private\10003a3f\import mkdir .\romdrive\private\10003a3f\import > NUL |
|
25 if not exist .\romdrive\private\10003a3f\import\apps mkdir .\romdrive\private\10003a3f\import\apps > NUL |
|
26 if not exist .\romdrive\private\10003a3f\apps mkdir .\romdrive\private\10003a3f\apps > NUL |
|
27 if not exist .\romdrive\resource mkdir .\romdrive\resource > NUL |
|
28 if not exist .\romdrive\resource\apps mkdir .\romdrive\resource\apps > NUL |
|
29 |
|
30 del .\backup\romdrive\sys\install\scr\provisioned\scr.db |
|
31 |
|
32 xcopy /E /Y backup\cdrive cdrive > NUL |
|
33 xcopy /E /Y backup\romdrive romdrive > NUL |
|
34 |
|
35 copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\interpretsis_preq1835_stub.sis .\romdrive\system\install\interpretsis_preq1835_stub.sis /Y > NUL |
|
36 copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\interpretsis_preq1835_01_reg.rsc .\romdrive\private\10003a3f\import\apps\interpretsis_preq1835_01_reg.rsc /Y > NUL |
|
37 copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\interpretsis_preq1835_02_reg.rsc .\romdrive\private\10003a3f\apps\interpretsis_preq1835_02_reg.rsc /Y > NUL |
|
38 copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\interpretsis_preq1835_01.r01 .\romdrive\resource\apps\interpretsis_preq1835_01.r01 /Y > NUL |
|
39 copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\interpretsis_preq1835_01.r03 .\romdrive\resource\apps\interpretsis_preq1835_01.r03 /Y > NUL |
|
40 copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\interpretsis_preq1835_01.r04 .\romdrive\resource\apps\interpretsis_preq1835_01.r04 /Y > NUL |
|
41 copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\interpretsis_preq1835_01.r24 .\romdrive\resource\apps\interpretsis_preq1835_01.r24 /Y > NUL |
|
42 copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\interpretsis_preq1835_02.r03 .\romdrive\resource\apps\interpretsis_preq1835_02.r03 /Y > NUL |
|
43 copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\interpretsis_preq183501.mbm .\romdrive\resource\apps\interpretsis_preq183501.mbm /Y > NUL |
|
44 copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\interpretsis_preq183503.mbm .\romdrive\resource\apps\interpretsis_preq183503.mbm /Y > NUL |
|
45 copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\interpretsis_preq183504.mbm .\romdrive\resource\apps\interpretsis_preq183504.mbm /Y > NUL |
|
46 copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\interpretsis_preq183524.mbm .\romdrive\resource\apps\interpretsis_preq183524.mbm /Y > NUL |
|
47 |
|
48 REM Remove installation files from any previous tests |
|
49 if exist .\cdrive\Documents\InstTest\devlangsup*.txt del .\cdrive\Documents\InstTest\devlangsup*.txt > NUL |
|
50 |
|
51 copy \epoc32\release\winscw\udeb\z\sys\install\scr\provisioned\scr.db .\romdrive\sys\install\scr\provisioned\scr.db /Y > NUL |
|
52 |
|
53 call interpretsis -z .\romdrive -c .\cdrive -s /epoc32/winscw/c/tswi/tsis/data/interpretsis_preq1835_08.sis -w info -I /epoc32/winscw/c/tswi/tinterpretsisinteg/preq1835-interpretsis-01/argumentfile_05.ini -l /epoc32/winscw/c/interpretsis_test_harness_db.txt > NUL |
|
54 |
|
55 copy .\romdrive\sys\install\scr\provisioned\scr.db \epoc32\winscw\c\sys\install\scr\scr.db /Y > NUL |
|
56 |
|
57 IF NOT EXIST .\backup\cdrive mkdir .\backup\cdrive > NUL |
|
58 IF NOT EXIST .\backup\romdrive mkdir .\backup\romdrive > NUL |
|
59 xcopy /E /Y cdrive backup\cdrive > NUL |
|
60 xcopy /E /Y romdrive backup\romdrive > NUL |
|
61 |
|
62 IF NOT %errorlevel%==0 GOTO LAST |
|
63 ECHO ***ERRORCODE*** %errorlevel% PASS>>/epoc32/winscw/c/interpretsis_test_harness_db.txt |
|
64 GOTO END |
|
65 :LAST |
|
66 ECHO ***ERRORCODE*** %errorlevel% FAIL>>/epoc32/winscw/c/interpretsis_test_harness_db.txt |
|
67 :END |
|