common/tools/ats/bctest/appsupport/profilesengine/profilesengine.pl
changeset 428 9b0221f74cf8
child 552 8018a074606b
equal deleted inserted replaced
426:ecc86630e337 428:9b0221f74cf8
       
     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 # Brendan Donegan <brendand@symbian.org>
       
    13 #
       
    14 # Description:
       
    15 # Script to build ATS test drop for BC Profiles Engine tests
       
    16 
       
    17 
       
    18 use strict;
       
    19 use File::Copy;
       
    20 use File::Path;
       
    21 
       
    22 unlink "profilesengine.zip";
       
    23 ##rmtree "temp";
       
    24 mkpath "temp/bcprofilesengine/general/testframework";
       
    25 mkpath "temp/bcprofilesengine/winscw_udeb";
       
    26 
       
    27 my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
       
    28 copy("profilesengine.xml",	"temp/test.xml");
       
    29 
       
    30 copy($epoc . "release/winscw/udeb/proengwrapapi.dll",                   "temp/bcprofilesengine/winscw_udeb/proengwrapapi.dll");
       
    31 copy($epoc . "winscw/c/testframework/testframework_proengwrapapi.ini",  "temp/bcprofilesengine/general/testframework/testframework_proengwrapapi.ini");
       
    32 copy($epoc . "winscw/c/testframework/proengwrapapi.cfg",                "temp/bcprofilesengine/general/testframework/proengwrapapi.cfg");
       
    33 
       
    34 system("7z a -tzip profilesengine.zip ./temp/*");