|
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 |
|
31 :SKIP_WINPCAP |
|
32 |
|
33 IF NOT EXIST "\usewintap.txt" GOTO SKIP_WINTAP |
|
34 IF NOT EXIST "\epoc32\winscw\c\auto_wintap.cfg" GOTO SKIP_WINTAP |
|
35 attrib -r \epoc32\winscw\c\auto.cfg |
|
36 copy /Y \epoc32\winscw\c\auto_wintap.cfg \epoc32\winscw\c\auto.cfg |
|
37 attrib -r \epoc32\winscw\c\prompt.cfg |
|
38 copy /Y \epoc32\winscw\c\auto_wintap_prompt.cfg \epoc32\winscw\c\prompt.cfg |
|
39 GOTO CONFIG_DONE |
|
40 |
|
41 :SKIP_WINTAP |
|
42 |
|
43 :CONFIG_DONE |
|
44 rem Set up tests using the automatic connection commdb configuration |
|
45 call \epoc32\release\winscw\udeb\ced -dtextshell -- -i c:\auto.cfg |
|
46 call \epoc32\release\wins\udeb\ced -dtextshell -- -i c:\auto.cfg |
|
47 |