common/tools/ats/bctest/locationsrv/locaddedit/locaddedit.pl
author Maciej Seroka <maciejs@symbian.org>
Fri, 11 Jun 2010 09:20:11 +0100
changeset 1085 461755d25d57
parent 663 27b2711afab1
permissions -rw-r--r--
Modified ats_specialise_test_drop to handle ats4 test plans
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
630
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     1
#!/usr/bin/perl
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     2
# Copyright (c) 2009 Symbian Foundation Ltd
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     3
# This component and the accompanying materials are made available
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     4
# under the terms of the License "Eclipse Public License v1.0"
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     5
# which accompanies this distribution, and is available
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     6
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     7
#
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     8
# Initial Contributors:
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     9
# Symbian Foundation Ltd - initial contribution.
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    10
#
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    11
# Contributors:
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    12
# Maciej Seroka <maciejs@symbian.org>
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    13
#
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    14
# Description:
663
27b2711afab1 Updated comments in perl scripts
Maciej Seroka <maciejs@symbian.org>
parents: 630
diff changeset
    15
# Script to build ATS test drop for Landmarks Application Editor BC tests
630
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    16
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    17
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    18
use strict;
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    19
use File::Copy;
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    20
use File::Path;
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    21
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    22
unlink "locaddedittest.zip";
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    23
rmtree "temp";
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    24
mkpath "temp/locaddedittest/general/testframework";
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    25
mkpath "temp/locaddedittest/winscw_udeb";
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    26
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    27
my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    28
copy("locaddedit.xml",	"temp/test.xml");
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    29
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    30
copy($epoc . "release/winscw/udeb/bcapplmkaddedit.dll",					"temp/locaddedittest/winscw_udeb/bcapplmkaddedit.dll") or die "failed : $!";
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    31
copy($epoc . "winscw/c/testframework/TestFramework_locaddedit.ini",		"temp/locaddedittest/general/testframework/TestFramework_locaddedit.ini") or die "failed : $!";
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    32
copy($epoc . "winscw/c/testframework/ui_lmkaddedit.cfg",				"temp/locaddedittest/general/testframework/ui_lmkaddedit.cfg") or die "failed : $!";
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    33
copy($epoc . "winscw/c/testframework/tcLmkAddEdit.cfg",					"temp/locaddedittest/general/testframework/tcLmkAddEdit.cfg") or die "failed : $!";
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    34
1fa00c60da46 New BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    35
system("7z a -tzip locaddedittest.zip ./temp/*");