common/tools/ats/bctest/locationsrv/locblid/locblid.pl
author Simon Howkins <simonh@symbian.org>
Wed, 27 Oct 2010 16:22:14 +0100
changeset 1316 0b4a09013baf
parent 663 27b2711afab1
permissions -rw-r--r--
Added copyright messages
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
437
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     1
#!/usr/bin/perl
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     2
# Copyright (c) 2009 Symbian Foundation Ltd
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     3
# This component and the accompanying materials are made available
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     4
# under the terms of the License "Eclipse Public License v1.0"
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     5
# which accompanies this distribution, and is available
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     6
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     7
#
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     8
# Initial Contributors:
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     9
# Symbian Foundation Ltd - initial contribution.
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    10
#
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    11
# Contributors:
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    12
# Maciej Seroka <maciejs@symbian.org>
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    13
#
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    14
# Description:
663
27b2711afab1 Updated comments in perl scripts
Maciej Seroka <maciejs@symbian.org>
parents: 552
diff changeset
    15
# Script to build ATS test drop for BLID Application Satellite Info BC tests
437
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    16
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    17
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    18
use strict;
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    19
use File::Copy;
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    20
use File::Path;
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    21
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    22
unlink "locblidtest.zip";
552
8018a074606b removed 'NAME' property from test plans
Brendan Donegan brendand@symbian.org
parents: 437
diff changeset
    23
rmtree "temp";
437
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    24
mkpath "temp/locblidtest/general/testframework";
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    25
mkpath "temp/locblidtest/winscw_udeb";
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    26
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    27
my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    28
copy("locblid.xml",	"temp/test.xml");
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    29
552
8018a074606b removed 'NAME' property from test plans
Brendan Donegan brendand@symbian.org
parents: 437
diff changeset
    30
copy($epoc . "release/winscw/udeb/BCBlidTest.dll",					"temp/locblidtest/winscw_udeb/BCBlidTest.dll") or die "failed : $!";
8018a074606b removed 'NAME' property from test plans
Brendan Donegan brendand@symbian.org
parents: 437
diff changeset
    31
copy($epoc . "winscw/c/testframework/testframework_locblid.ini",	"temp/locblidtest/general/testframework/testframework_locblid.ini") or die "failed : $!";
8018a074606b removed 'NAME' property from test plans
Brendan Donegan brendand@symbian.org
parents: 437
diff changeset
    32
copy($epoc . "winscw/c/testframework/tcLmkBlid.cfg",				"temp/locblidtest/general/testframework/tcLmkBlid.cfg") or die "failed : $!";
8018a074606b removed 'NAME' property from test plans
Brendan Donegan brendand@symbian.org
parents: 437
diff changeset
    33
copy($epoc . "winscw/c/testframework/UI_BCBLid.cfg",				"temp/locblidtest/general/testframework/UI_BCBLid.cfg") or die "failed : $!";
437
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    34
ce8efcf88343 New BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    35
system("7z a -tzip locblidtest.zip ./temp/*");