common/tools/ats/bctest/connsetui/connsetui.pl
author Dario Sestito <darios@symbian.org>
Mon, 12 Jul 2010 12:00:07 +0100
changeset 1162 1127dea6b78b
parent 688 c027e7c6431e
permissions -rw-r--r--
Fix: DBD-mysql is missing
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
688
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     1
#!/usr/bin/perl
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     2
# Copyright (c) 2009 Symbian Foundation Ltd
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     3
# This component and the accompanying materials are made available
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     4
# under the terms of the License "Eclipse Public License v1.0"
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     5
# which accompanies this distribution, and is available
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     6
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     7
#
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     8
# Initial Contributors:
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     9
# Symbian Foundation Ltd - initial contribution.
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    10
#
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    11
# Contributors:
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    12
# Maciej Seroka <maciejs@symbian.org>
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    13
#
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    14
# Description:
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    15
# Script to build ATS test drop for Connection Settings UI BC tests
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    16
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    17
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    18
use strict;
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    19
use File::Copy;
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    20
use File::Path;
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    21
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    22
unlink "connsetuitest.zip";
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    23
rmtree "temp";
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    24
mkpath "temp/connsetuitest/general/testframework";
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    25
mkpath "temp/connsetuitest/winscw_udeb";
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    26
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    27
my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    28
copy("connsetui.xml",	"temp/test.xml");
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    29
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    30
copy($epoc . "release/winscw/udeb/BCConnSettingsUITest.dll",		"temp/connsetuitest/winscw_udeb/BCConnSettingsUITest.dll") or die "failed : $!";
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    31
copy($epoc . "winscw/c/testframework/TestFramework_connsetui.ini",	"temp/connsetuitest/general/testframework/TestFramework_connsetui.ini") or die "failed : $!";
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    32
copy($epoc . "winscw/c/testframework/UI_ConnSet.cfg",				"temp/connsetuitest/general/testframework/UI_ConnSet.cfg") or die "failed : $!";
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    33
copy($epoc . "winscw/c/testframework/tcConnSet.cfg",				"temp/connsetuitest/general/testframework/tcConnSet.cfg") or die "failed : $!";
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    34
c027e7c6431e Added new BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    35
system("7z a -tzip connsetuitest.zip ./temp/*");