common/tools/ats/bctest/syslibs/syslibssvs.pl
changeset 408 0c558d696e7a
parent 305 8aaeb2731c06
child 552 8018a074606b
equal deleted inserted replaced
407:57a2cac6870f 408:0c558d696e7a
       
     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 # Louis Henry Nayegon <louisn@symbian.org>
       
    13 #
       
    14 # Description:
       
    15 # Script to build ATS test drop syslibs svs tests
       
    16 
       
    17 
       
    18 use strict;
       
    19 use File::Copy;
       
    20 use File::Path;
       
    21 
       
    22 unlink "syslibstest.zip";
       
    23 rmtree "temp";
       
    24 mkpath "temp/syslibstest/general/syslibs";
       
    25 mkpath "temp/syslibstest/general/ecom";
       
    26 mkpath "temp/syslibstest/winscw_udeb/z/resource/plugins";
       
    27 
       
    28 my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
       
    29 copy("syslibstest.xml",	"temp/test.xml");
       
    30 
       
    31 copy($epoc . "data/z/syslibs/t_syslibs.tcs",		"temp/syslibstest/general/syslibs/t_syslibs.tcs");
       
    32 copy($epoc . "data/z/syslibs/winscw/t_syslibs.ini",	"temp/syslibstest/general/syslibs/t_syslibs.ini");
       
    33 
       
    34 copy($epoc . "data/z/ecom/syslib-ecom-publicapi.script",	"temp/syslibstest/general/ecom/syslib-ecom-publicapi.script");
       
    35 copy($epoc . "data/z/ecom/syslib-ecom-publicapi.ini",		"temp/syslibstest/general/ecom/syslib-ecom-publicapi.ini");
       
    36 copy($epoc . "data/z/ecom/testproduct_plugin.rsc",			"temp/syslibstest/general/ecom/testproduct_plugin.rsc");
       
    37 copy($epoc . "release/winscw/udeb/testproduct_plugin.dll",	"temp/syslibstest/general/ecom/testproduct_plugin.dll");
       
    38 
       
    39 copy($epoc . "release/winscw/udeb/t_ecom.exe",				"temp/syslibstest/winscw_udeb/t_ecom.exe");
       
    40 copy($epoc . "release/winscw/udeb/tpcopyfileutility.exe",	"temp/syslibstest/winscw_udeb/tpcopyfileutility.exe");
       
    41 copy($epoc . "release/winscw/udeb/tpdeletefileutility.exe",	"temp/syslibstest/winscw_udeb/tpdeletefileutility.exe");
       
    42 
       
    43 system("7z a -tzip syslibstest.zip ./temp/*");