secureswitools/swisistools/test/tinterpretsisinteg/api-inst-preq2525-interpretsis-16_db.bat
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     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 @ECHO OFF
       
    18 REM API-INST-preq2525-interpretsis-16
       
    19 REM PREQ2525 API-INST-preq2525-interpretsis-16 - Package supports FR and EN  passed some big number as language id 
       
    20 
       
    21 if not exist .\cdrive mkdir .\cdrive > NUL
       
    22 if not exist .\romdrive mkdir .\romdrive > NUL
       
    23 
       
    24 xcopy /E /Y backup\cdrive cdrive > NUL
       
    25 xcopy /E /Y backup\romdrive romdrive > NUL
       
    26 
       
    27 
       
    28 REM Remove installation files from any previous tests
       
    29 if exist  .\cdrive\Documents\InstTest\devlangsup*.txt  del .\cdrive\Documents\InstTest\devlangsup*.txt  > NUL
       
    30 
       
    31 
       
    32 call interpretsis -z .\romdrive -c .\cdrive  -s /epoc32/winscw/c/tswi/tsis/data/devlangsup_defaultlang.sis -w info -I /epoc32/winscw/c/tswi/tinterpretsisinteg/preq2525-interpretsis-16/argumentfile.ini  -l /epoc32/winscw/c/interpretsis_test_harness_db.txt > NUL
       
    33 
       
    34 IF NOT EXIST .\backup\cdrive mkdir .\backup\cdrive > NUL
       
    35 IF NOT EXIST .\backup\romdrive mkdir .\backup\romdrive > NUL
       
    36 xcopy /E /Y cdrive backup\cdrive > NUL
       
    37 xcopy /E /Y romdrive backup\romdrive > NUL
       
    38 
       
    39 IF NOT %errorlevel%==0 GOTO LAST
       
    40 ECHO ***ERRORCODE*** %errorlevel% PASS>>/epoc32/winscw/c/interpretsis_test_harness_db.txt
       
    41 GOTO END
       
    42 :LAST
       
    43 ECHO ***ERRORCODE*** %errorlevel% FAIL>>/epoc32/winscw/c/interpretsis_test_harness_db.txt
       
    44 :END