common/tools/ats/bctest/systemsw/cenrepnotifyhandler.pl
author Simon Howkins <simonh@symbian.org>
Fri, 01 Oct 2010 16:54:01 +0100
changeset 1276 fdcfee9c5b0d
parent 1230 0f78fc0a8217
permissions -rw-r--r--
Bug 3748: Please separate ROM images into a separate zip file \epoc32\rom\* and \epoc32\rombuild\* now in separate archive (apart from items which are included in the tools zip)

#!/usr/bin/perl
# Copyright (c) 2009 Symbian Foundation Ltd
# This component and the accompanying materials are made available
# under the terms of the License "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Symbian Foundation Ltd - initial contribution.
#
# Contributors:
# Louis Henry Nayegon <louisn@symbian.org>
#
# Description:
# Script to build ATS test drop for (SystemSW) Central Repository Notification Handler tests


use strict;
use File::Copy;
use File::Path;

unlink "cenrepnotifyhandlertest.zip";
rmtree "temp";
mkpath "temp/cenrepnotifyhandlertest/winscw_udeb";
mkpath "temp/cenrepnotifyhandlertest/general/TestFramework";
mkpath "temp/cenrepnotifyhandlertest/general/10202be9";

my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
copy("cenrepnotifyhandler.xml",	"temp/test.xml");


copy($epoc . "release/winscw/udeb/CenRepNotifyHandlerTest.dll",	"temp/cenrepnotifyhandlertest/winscw_udeb/CenRepNotifyHandlerTest.dll") or die "failed : $!";
copy($epoc . "winscw/c/TestFramework/TestFramework_cenrep.ini",	"temp/cenrepnotifyhandlertest/general/TestFramework/TestFramework_cenrep.ini") or die "failed : $!";
copy($epoc . "winscw/c/6edcba99.txt",							"temp/cenrepnotifyhandlertest/general/10202be9/6edcba99.txt") or die "failed : $!";

system("7z a -tzip cenrepnotifyhandlertest.zip ./temp/*");