mobilemessaging/smsmtm/clientmtm/group/test.bat
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     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 if "%1"=="" goto usage
       
    18 if "%2"=="" goto usage
       
    19 
       
    20 @echo on
       
    21 
       
    22 md \epoc32\wins\c\test\sms
       
    23 md \epoc32\wins\c\logs\sms
       
    24 md \epoc32\wins\c\logs\etel
       
    25 md \epoc32\wins\c\logs\msgtest
       
    26 md \epoc32\wins\c\logs\schsend
       
    27 md \epoc32\wins\c\logs\watcher
       
    28 
       
    29 rd \smstest_%1 /s/q
       
    30 md \smstest_%1 
       
    31 md \smstest_%1\system\data
       
    32 md \smstest_%1\system\libs
       
    33 md \smstest_%1\test\sms
       
    34 md \smstest_%1\logs\sms
       
    35 md \smstest_%1\logs\msgtest
       
    36 md \smstest_%1\logs\etel
       
    37 md \smstest_%1\logs\schsend
       
    38 md \smstest_%1\logs\watcher
       
    39 copy \epoc32\release\%1\%2\t*.exe \smstest_%1
       
    40 copy \epoc32\release\%1\%2\msvtestutils.dll \smstest_%1\system\libs
       
    41 copy \epoc32\release\%1\%2\smstestutils.dll \smstest_%1\system\libs
       
    42 copy \epoc32\wins\c\test\sms\*.* \smstest_%1\test\sms
       
    43 REM copy \epoc32\wins\c\system\data\cdbv2.dat \smstest_%1\system\data\cdbv2.dat
       
    44 REM copy \epoc32\wins\c\system\data\s*.esk \smstest_%1\system\data
       
    45 REM copy \epoc32\wins\c\system\data\w*.esk \smstest_%1\system\data
       
    46 
       
    47 @echo off
       
    48 
       
    49 echo.
       
    50 echo.
       
    51 echo.
       
    52 echo.
       
    53 echo The SMCM test files are now stored in folder \smstest_%1
       
    54 echo.
       
    55 echo These files may now be copied onto a device for testing:
       
    56 echo.
       
    57 echo - Copy \smstest_%1\logs\ to c:\logs\ on the device
       
    58 echo - Copy \smstest_%1\test\ to c:\test\ on the device
       
    59 echo - Copy \smstest_%1\system\ to c:\system\ on the device
       
    60 echo - The other files (including the test harnesses)
       
    61 echo   may be left on the CF card.
       
    62 echo.
       
    63 
       
    64 goto end
       
    65 
       
    66 :usage
       
    67 
       
    68 @echo off
       
    69 echo.
       
    70 echo USAGE: test [platform] [variant]
       
    71 echo.
       
    72 echo e.g.:  test thumb urel
       
    73 echo        test armi udeb
       
    74 echo.
       
    75 
       
    76 :end