messagingfw/msgtest/targetautomation/Script/autotest.bat
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     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 
       
    17 md \epoc32\data\z\system\msgtest
       
    18 md \epoc32\data\z\system\msgtest\urel
       
    19 md \epoc32\data\z\system\msgtest\udeb
       
    20 call autoprep autotest.txt defaultbat.txt
       
    21 
       
    22 call setrel urel
       
    23 
       
    24 if "%1"== "lubbock" goto lubbock0
       
    25 
       
    26 call \epoc32\rom\tools\buildrom -D_SERIAL_DOWNLOAD assabet techview msgtest
       
    27 del sys$rom.zip
       
    28 wzzip sys$rom.zip ab_001~1.img
       
    29 goto trgtest
       
    30 
       
    31 :lubbock0
       
    32 call \epoc32\rom\tools\buildrom -D_SERIAL_DOWNLOAD lubbock techview msgtest
       
    33 REM del flashimg.zip
       
    34 del lubbock.zip
       
    35 REM wzzip flashimg.zip la_001~1.img
       
    36 wzzip lubbock.zip la_001~1.img
       
    37 goto trgtest
       
    38 
       
    39 :trgtest
       
    40 md logs
       
    41 del logs\test.log
       
    42 if "%1"== "lubbock" goto lubbock1
       
    43 ..\trgtest\trgtest 2 sys$rom.zip logs\test.log
       
    44 goto logs
       
    45 
       
    46 :lubbock1
       
    47 REM ..\trgtest\trgtest 2 flashimg.zip logs\test.log
       
    48 ..\trgtest\trgtest 2 lubbock.zip logs\test.log
       
    49 goto logs
       
    50 
       
    51 :logs
       
    52 cd logs
       
    53 perl ..\logsplit.pl test.log
       
    54 cd ..
       
    55 
       
    56