# HG changeset patch # User Louis Henry Nayegon # Date 1253008170 -3600 # Node ID edfd4034265bc066d8a6342462fe288f4cf02c1f # Parent c63cdf02d7e8384545ad5ef6e9c1b927cc82c375 Add clock tests diff -r c63cdf02d7e8 -r edfd4034265b common/tools/ats/bctest/pim/clock/clock.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/bctest/pim/clock/clock.pl Tue Sep 15 10:49:30 2009 +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 contacts phonebook tests + + +use strict; +use File::Copy; +use File::Path; + +unlink "clocktest.zip"; +##rmtree "temp"; +mkpath "temp/clocktest/general/testframework"; +mkpath "temp/clocktest/general/bcardtest2"; +mkpath "temp/clocktest/winscw_udeb/z/resource/plugins"; + +my $epoc=$ENV{'EPOCROOT'} . "epoc32/"; +copy("clock.xml", "temp/test.xml"); + +copy($epoc . "release/winscw/udeb/bctestclock.dll", "temp/clocktest/winscw_udeb/bctestclock.dll"); +copy($epoc . "winscw/c/testframework/testframework_pimclock.ini", "temp/clocktest/general/testframework/testframework_pimclock.ini"); +copy($epoc . "winscw/c/testframework/tcbctestclock.cfg", "temp/clocktest/general/testframework/tcbctestclock.cfg"); +copy($epoc . "winscw/c/testframework/ui_bctestclock.cfg", "temp/clocktest/general/testframework/ui_bctestclock.cfg"); + +system("7z a -tzip clocktest.zip ./temp/*"); diff -r c63cdf02d7e8 -r edfd4034265b common/tools/ats/bctest/pim/clock/clock.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/bctest/pim/clock/clock.xml Tue Sep 15 10:49:30 2009 +0100 @@ -0,0 +1,88 @@ + + + 1 + admin + 10 + + PIM Clock BC Tests + + + + + + + + + + + + + + + makedir + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + execute + + + + + + + + + fetch-log + + + + + + + + + + clocktest/winscw_udeb/bctestclock.dll + clocktest/general/testframework/testframework_pimclock.ini + clocktest/general/testframework/tcbctestclock.cfg + clocktest/general/testframework/ui_bctestclock.cfg + +