installationservices/switestfw/test/autotesting/useautocfg.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 IF NOT EXIST "\usewinpcap.txt" GOTO SKIP_WINPCAP
       
    18 IF NOT EXIST "\epoc32\winscw\c\auto_winpcap.cfg" GOTO SKIP_WINPCAP
       
    19 attrib -r \epoc32\winscw\c\auto.cfg 
       
    20 copy /Y \epoc32\winscw\c\auto_winpcap.cfg \epoc32\winscw\c\auto.cfg 
       
    21 attrib -r \epoc32\winscw\c\prompt.cfg 
       
    22 copy /Y \epoc32\winscw\c\auto_winpcap_prompt.cfg \epoc32\winscw\c\prompt.cfg 
       
    23 IF (%WINSCW_MAC%)==() (
       
    24 call perl \epoc32\tools\configchange.pl --config ethernetNoCommDB --kernel EKA2 --target winscw --variant UDEB
       
    25 ) ELSE (
       
    26 call perl \epoc32\winscw\c\configchangebats.pl --config ethernetNoCommDB --kernel EKA2 --target winscw --variant UDEB
       
    27 )
       
    28 GOTO CONFIG_DONE
       
    29 
       
    30 :SKIP_WINPCAP
       
    31 
       
    32 IF NOT EXIST "\usewintap.txt" GOTO SKIP_WINTAP
       
    33 IF NOT EXIST "\epoc32\winscw\c\auto_wintap.cfg" GOTO SKIP_WINTAP
       
    34 attrib -r \epoc32\winscw\c\auto.cfg
       
    35 copy /Y \epoc32\winscw\c\auto_wintap.cfg \epoc32\winscw\c\auto.cfg 
       
    36 attrib -r \epoc32\winscw\c\prompt.cfg 
       
    37 copy /Y \epoc32\winscw\c\auto_wintap_prompt.cfg \epoc32\winscw\c\prompt.cfg 
       
    38 GOTO CONFIG_DONE
       
    39 
       
    40 :SKIP_WINTAP
       
    41 
       
    42 :CONFIG_DONE
       
    43 rem Set up tests using the automatic connection commdb configuration
       
    44 
       
    45 call \epoc32\release\wins\udeb\ced -dtextshell -- -i c:\auto.cfg
       
    46 call \epoc32\release\winscw\udeb\ced -dtextshell -- -i c:\auto.cfg