common/tools/ats/bctest/messaging/messaging.pl
author Maciej Seroka <maciejs@symbian.org>
Wed, 23 Sep 2009 14:17:19 +0100
changeset 496 f171ca4100ce
parent 463 2ad847d21423
child 527 f91fd3c559a1
permissions -rw-r--r--
Required files to build 50_Symbian_T_Camera.sis
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
463
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
     1
#!/usr/bin/perl
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
     2
# Copyright (c) 2009 Symbian Foundation Ltd
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
     3
# This component and the accompanying materials are made available
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
     4
# under the terms of the License "Eclipse Public License v1.0"
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
     5
# which accompanies this distribution, and is available
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
     6
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
     7
#
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
     8
# Initial Contributors:
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
     9
# Symbian Foundation Ltd - initial contribution.
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    10
#
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    11
# Contributors:
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    12
# Brendan Donegan <brendand@symbian.org>
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    13
#
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    14
# Description:
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    15
# Script to build ATS test drop for BC Web Services tests
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    16
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    17
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    18
use strict;
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    19
use File::Copy;
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    20
use File::Path;
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    21
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    22
unlink "messaging.zip";
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    23
##rmtree "temp";
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    24
mkpath "temp/bcmessaging/testframework/general";
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    25
mkpath "temp/bcmessaging/resource/general";
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    26
mkpath "temp/bcmessaging/winscw_udeb";
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    27
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    28
my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    29
copy("messaging.xml",       "temp/test.xml");
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    30
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    31
copy($epoc . "release/winscw/udeb/MMSClientMTMBCTester.dll",                "temp/bcmessaging/winscw_udeb/MMSClientMTMBCTester.dll");
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    32
copy($epoc . "winscw/c/testframework/MMSClientMTMBCTester.ini",             "temp/bcmessaging/testframework/general/MMSClientMTMBCTester.ini");
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    33
copy($epoc . "winscw/c/testframework/MMSClientMTMBCTester_TestImage.jpg",   "temp/bcmessaging/testframework/general/MMSClientMTMBCTester_TestImage.jpg");
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    34
copy($epoc . "release/winscw/udeb/PluginBioControlAPITest.dll",             "temp/bcmessaging/winscw_udeb/PluginBioControlAPITest.dll");
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    35
copy($epoc . "winscw/c/testframework/tcTestUIBioCombiner.cfg",              "temp/bcmessaging/testframework/general/tcTestUIBioCombiner.cfg");
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    36
copy($epoc . "winscw/c/testframework/ui_PluginBioControlAPITest.cfg",       "temp/bcmessaging/testframework/general/ui_PluginBioControlAPITest.cfg");
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    37
copy($epoc . "winscw/c/testframework/test.txt",                             "temp/bcmessaging/testframework/general/test.txt");
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    38
copy($epoc . "winscw/c/testframework/PluginBioControlAPITest.rsc",          "temp/bcmessaging/testframework/general/PluginBioControlAPITest.rsc");
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    39
copy($epoc . "data/z/resource/pluginbiocontrolapitest.rsc",                 "temp/bcmessaging/resource/general/pluginbiocontrolapitest.rsc");
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    40
copy($epoc . "data/z/resource/pluginbiocontrolapitest.r01",                 "temp/bcmessaging/resource/general/pluginbiocontrolapitest.r01");
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    41
2ad847d21423 added messaging bc tests
Brendan Donegan brendand@symbian.org
parents:
diff changeset
    42
system("7z a -tzip messaging.zip ./temp/*");