# HG changeset patch # User Maciej Seroka # Date 1282827824 -3600 # Node ID 0f78fc0a8217a872f0f732365d02fc675a74f0db # Parent 32ae1f6f1c358ff43fec813a6c830070254c8fb6 Separated CenRepNotifyHandler from SystemSW test suite diff -r 32ae1f6f1c35 -r 0f78fc0a8217 common/tools/ats/bctest/systemsw/cenrepnotifyhandler.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/bctest/systemsw/cenrepnotifyhandler.pl Thu Aug 26 14:03:44 2010 +0100 @@ -0,0 +1,36 @@ +#!/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 +# +# 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/*"); diff -r 32ae1f6f1c35 -r 0f78fc0a8217 common/tools/ats/bctest/systemsw/cenrepnotifyhandler.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/bctest/systemsw/cenrepnotifyhandler.xml Thu Aug 26 14:03:44 2010 +0100 @@ -0,0 +1,75 @@ + + + 1 + admin + 10 + + + FileStoreAction + + + + + Central Repository Notification Handler BC Tests + + + + + + + + + + + + + + makedir + + + + + + install + + + + + + + + + install + + + + + + + + + + execute + + + + + + + + + fetch-log + + + + + + + + + + cenrepnotifyhandlertest/winscw_udeb/cenrepnotifyhandlertest.dll + cenrepnotifyhandlertest/general/testframework/testframework_cenrep.ini + cenrepnotifyhandlertest/general/10202be9/6edcba99.txt + + diff -r 32ae1f6f1c35 -r 0f78fc0a8217 common/tools/ats/bctest/systemsw/systemsw.pl --- a/common/tools/ats/bctest/systemsw/systemsw.pl Thu Aug 26 12:39:14 2010 +0100 +++ b/common/tools/ats/bctest/systemsw/systemsw.pl Thu Aug 26 14:03:44 2010 +0100 @@ -29,7 +29,7 @@ copy($epoc . "release/winscw/udeb/featuremanagertest.dll", "temp/systemswtest/winscw_udeb/featuremanagertest.dll") or die "failed : $!"; copy($epoc . "release/winscw/udeb/finditemenginetest.dll", "temp/systemswtest/winscw_udeb/finditemenginetest.dll") or die "failed : $!"; copy($epoc . "release/winscw/udeb/light.dll", "temp/systemswtest/winscw_udeb/light.dll") or die "failed : $!"; --copy($epoc . "release/winscw/udeb/networkstatustest.dll", "temp/systemswtest/winscw_udeb/networkstatustest.dll") or die "failed : $!"; +copy($epoc . "release/winscw/udeb/networkstatustest.dll", "temp/systemswtest/winscw_udeb/networkstatustest.dll") or die "failed : $!"; copy($epoc . "release/winscw/udeb/phoneparsertest.dll", "temp/systemswtest/winscw_udeb/phoneparsertest.dll") or die "failed : $!"; copy($epoc . "release/winscw/udeb/platformenvtest.dll", "temp/systemswtest/winscw_udeb/platformenvtest.dll") or die "failed : $!"; copy($epoc . "release/winscw/udeb/powerstatetest.dll", "temp/systemswtest/winscw_udeb/powerstatetest.dll") or die "failed : $!"; @@ -39,7 +39,5 @@ ##copy($epoc . "release/winscw/udeb/vibractrltest.dll", "temp/systemswtest/winscw_udeb/vibractrltest.dll") or die "failed : $!"; copy($epoc . "release/winscw/udeb/platformvertest.dll", "temp/systemswtest/winscw_udeb/platformvertest.dll") or die "failed : $!"; copy($epoc . "release/winscw/udeb/accmonapibctests.dll", "temp/systemswtest/winscw_udeb/accmonapibctests.dll") or die "failed : $!"; -#Added on 26 Aug 2010 -copy($epoc . "release/winscw/udeb/cenrepnotifyhandlertest.dll", "temp/systemswtest/winscw_udeb/cenrepnotifyhandlertest.dll") or die "failed : $!"; system("7z a -tzip systemswtest.zip ./temp/*"); diff -r 32ae1f6f1c35 -r 0f78fc0a8217 common/tools/ats/bctest/systemsw/systemsw.xml --- a/common/tools/ats/bctest/systemsw/systemsw.xml Thu Aug 26 12:39:14 2010 +0100 +++ b/common/tools/ats/bctest/systemsw/systemsw.xml Thu Aug 26 14:03:44 2010 +0100 @@ -406,38 +406,6 @@ - - - makedir - - - - - - install - - - - - - - - - execute - - - - - - - - - fetch-log - - - - - @@ -454,6 +422,5 @@ systemswtest/winscw_udeb/hwresmantest.dll systemswtest/winscw_udeb/platformvertest.dll systemswtest/winscw_udeb/accmonapibctests.dll - systemswtest/winscw_udeb/cenrepnotifyhandlertest.dll