common/tools/ats/bctest/systemsw/cenrepnotifyhandler.pl
changeset 1233 3df3f73a7802
parent 1230 0f78fc0a8217
equal deleted inserted replaced
1229:485d259b2da8 1233:3df3f73a7802
       
     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 for (SystemSW) Central Repository Notification Handler tests
       
    16 
       
    17 
       
    18 use strict;
       
    19 use File::Copy;
       
    20 use File::Path;
       
    21 
       
    22 unlink "cenrepnotifyhandlertest.zip";
       
    23 rmtree "temp";
       
    24 mkpath "temp/cenrepnotifyhandlertest/winscw_udeb";
       
    25 mkpath "temp/cenrepnotifyhandlertest/general/TestFramework";
       
    26 mkpath "temp/cenrepnotifyhandlertest/general/10202be9";
       
    27 
       
    28 my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
       
    29 copy("cenrepnotifyhandler.xml",	"temp/test.xml");
       
    30 
       
    31 
       
    32 copy($epoc . "release/winscw/udeb/CenRepNotifyHandlerTest.dll",	"temp/cenrepnotifyhandlertest/winscw_udeb/CenRepNotifyHandlerTest.dll") or die "failed : $!";
       
    33 copy($epoc . "winscw/c/TestFramework/TestFramework_cenrep.ini",	"temp/cenrepnotifyhandlertest/general/TestFramework/TestFramework_cenrep.ini") or die "failed : $!";
       
    34 copy($epoc . "winscw/c/6edcba99.txt",							"temp/cenrepnotifyhandlertest/general/10202be9/6edcba99.txt") or die "failed : $!";
       
    35 
       
    36 system("7z a -tzip cenrepnotifyhandlertest.zip ./temp/*");