common/tools/ats/bctest/connpref/connpref.pl
changeset 1238 757339892a89
parent 1233 3df3f73a7802
parent 1237 693573a22808
child 1243 72c1b027006d
equal deleted inserted replaced
1233:3df3f73a7802 1238:757339892a89
     1 #!/usr/bin/perl
       
     2 # Copyright (c) 2009 Symbian Foundation Ltd
       
     3 # This component and the accompanying materials are made available
       
     4 # under the terms of the License "Eclipse Public License v1.0"
       
     5 # which accompanies this distribution, and is available
       
     6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 #
       
     8 # Initial Contributors:
       
     9 # Symbian Foundation Ltd - initial contribution.
       
    10 #
       
    11 # Contributors:
       
    12 # Maciej Seroka <maciejs@symbian.org>
       
    13 #
       
    14 # Description:
       
    15 # Script to build ATS test drop for Extended Connection Pref BC tests
       
    16 
       
    17 
       
    18 use strict;
       
    19 use File::Copy;
       
    20 use File::Path;
       
    21 
       
    22 unlink "connpreftest.zip";
       
    23 rmtree "temp";
       
    24 mkpath "temp/connpreftest/general/testframework";
       
    25 mkpath "temp/connpreftest/winscw_udeb";
       
    26 
       
    27 my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
       
    28 copy("connpref.xml",	"temp/test.xml");
       
    29 
       
    30 copy($epoc . "release/winscw/udeb/econnprefbc.dll",					"temp/connpreftest/winscw_udeb/econnprefbc.dll") or die "failed : $!";
       
    31 copy($epoc . "winscw/c/testframework/testframework_connpref.ini",	"temp/connpreftest/general/testframework/testframework_connpref.ini") or die "failed : $!";
       
    32 
       
    33 system("7z a -tzip connpreftest.zip ./temp/*");