common/tools/ats/bctest/coretelephony/coretelephony.pl
author Simon Howkins <simonh@symbian.org>
Wed, 27 Oct 2010 16:22:14 +0100
changeset 1316 0b4a09013baf
parent 702 993c4cb88372
permissions -rw-r--r--
Added copyright messages
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
702
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
     1
#!/usr/bin/perl
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
     2
# Copyright (c) 2009 Symbian Foundation Ltd
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
     3
# This component and the accompanying materials are made available
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
     4
# under the terms of the License "Eclipse Public License v1.0"
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
     5
# which accompanies this distribution, and is available
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
     6
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
     7
#
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
     8
# Initial Contributors:
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
     9
# Symbian Foundation Ltd - initial contribution.
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    10
#
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    11
# Contributors:
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    12
# Brendan Donegan <brendand@symbian.org>
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    13
#
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    14
# Description:
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    15
# Script to build ATS test drop for BC RTC Core Telephony tests
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    16
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    17
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    18
use strict;
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    19
use File::Copy;
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    20
use File::Path;
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    21
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    22
unlink "coretelephony.zip";
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    23
rmtree "temp";
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    24
mkpath "temp/rtcct/winscw_udeb";
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    25
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    26
my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    27
copy("coretelephony.xml",	"temp/test.xml");
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    28
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    29
copy($epoc . "release/winscw/udeb/BCLogEngineTest.dll",                     "temp/rtcct/winscw_udeb/BCLogEngineTest.dll") or die "failed : $!";
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    30
993c4cb88372 Added Core Telephony BC tests
brendand
parents:
diff changeset
    31
system("7z a -tzip coretelephony.zip ./temp/*");