os/security/cryptomgmtlibs/securitytestfw/test/autotesting/useautocfg.bat
author sl
Tue, 10 Jun 2014 14:32:02 +0200 (2014-06-10)
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
@rem
sl@0
     2
@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     3
@rem All rights reserved.
sl@0
     4
@rem This component and the accompanying materials are made available
sl@0
     5
@rem under the terms of the License "Eclipse Public License v1.0"
sl@0
     6
@rem which accompanies this distribution, and is available
sl@0
     7
@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     8
@rem
sl@0
     9
@rem Initial Contributors:
sl@0
    10
@rem Nokia Corporation - initial contribution.
sl@0
    11
@rem
sl@0
    12
@rem Contributors:
sl@0
    13
@rem
sl@0
    14
@rem Description: 
sl@0
    15
@rem
sl@0
    16
sl@0
    17
IF NOT EXIST "\usewinpcap.txt" GOTO SKIP_WINPCAP
sl@0
    18
IF NOT EXIST "\epoc32\winscw\c\auto_winpcap.cfg" GOTO SKIP_WINPCAP
sl@0
    19
attrib -r \epoc32\winscw\c\auto.cfg 
sl@0
    20
copy /Y \epoc32\winscw\c\auto_winpcap.cfg \epoc32\winscw\c\auto.cfg 
sl@0
    21
attrib -r \epoc32\winscw\c\prompt.cfg 
sl@0
    22
copy /Y \epoc32\winscw\c\auto_winpcap_prompt.cfg \epoc32\winscw\c\prompt.cfg 
sl@0
    23
IF (%WINSCW_MAC%)==() (
sl@0
    24
call perl \epoc32\tools\configchange.pl --config ethernetNoCommDB --kernel EKA2 --target winscw --variant UDEB
sl@0
    25
) ELSE (
sl@0
    26
call perl \epoc32\winscw\c\configchangebats.pl --config ethernetNoCommDB --kernel EKA2 --target winscw --variant UDEB
sl@0
    27
)
sl@0
    28
GOTO CONFIG_DONE
sl@0
    29
sl@0
    30
:SKIP_WINPCAP
sl@0
    31
sl@0
    32
IF NOT EXIST "\usewintap.txt" GOTO SKIP_WINTAP
sl@0
    33
IF NOT EXIST "\epoc32\winscw\c\auto_wintap.cfg" GOTO SKIP_WINTAP
sl@0
    34
attrib -r \epoc32\winscw\c\auto.cfg
sl@0
    35
copy /Y \epoc32\winscw\c\auto_wintap.cfg \epoc32\winscw\c\auto.cfg 
sl@0
    36
attrib -r \epoc32\winscw\c\prompt.cfg 
sl@0
    37
copy /Y \epoc32\winscw\c\auto_wintap_prompt.cfg \epoc32\winscw\c\prompt.cfg 
sl@0
    38
GOTO CONFIG_DONE
sl@0
    39
sl@0
    40
:SKIP_WINTAP
sl@0
    41
sl@0
    42
:CONFIG_DONE
sl@0
    43
rem Set up tests using the automatic connection commdb configuration
sl@0
    44
sl@0
    45
call \epoc32\release\winscw\udeb\ced -dtextshell -- -i c:\auto.cfg
sl@0
    46
call \epoc32\release\wins\udeb\ced  -dtextshell --  -i c:\auto.cfg