common/tools/ats/bctest/pim/clock/clock.pl
changeset 444 edfd4034265b
child 611 0f19bbf75c06
equal deleted inserted replaced
443:c63cdf02d7e8 444:edfd4034265b
       
     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 contacts phonebook tests
       
    16 
       
    17 
       
    18 use strict;
       
    19 use File::Copy;
       
    20 use File::Path;
       
    21 
       
    22 unlink "clocktest.zip";
       
    23 ##rmtree "temp";
       
    24 mkpath "temp/clocktest/general/testframework";
       
    25 mkpath "temp/clocktest/general/bcardtest2";
       
    26 mkpath "temp/clocktest/winscw_udeb/z/resource/plugins";
       
    27 
       
    28 my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
       
    29 copy("clock.xml",	"temp/test.xml");
       
    30 
       
    31 copy($epoc . "release/winscw/udeb/bctestclock.dll",					"temp/clocktest/winscw_udeb/bctestclock.dll");
       
    32 copy($epoc . "winscw/c/testframework/testframework_pimclock.ini",	"temp/clocktest/general/testframework/testframework_pimclock.ini");
       
    33 copy($epoc . "winscw/c/testframework/tcbctestclock.cfg",			"temp/clocktest/general/testframework/tcbctestclock.cfg");
       
    34 copy($epoc . "winscw/c/testframework/ui_bctestclock.cfg",			"temp/clocktest/general/testframework/ui_bctestclock.cfg");
       
    35 
       
    36 system("7z a -tzip clocktest.zip ./temp/*");