Group/smoketest.pl
author Maciej Seroka <maciejs@symbian.org>
Tue, 14 Sep 2010 11:58:23 +0100
branchSymbian3
changeset 66 bfb4e8b28c27
parent 65 095ced8bfefa
permissions -rw-r--r--
Added missing RSC files to Smoketest_localisation.iby
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
8758140453c0 Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     1
#!/usr/bin/perl
8758140453c0 Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     2
25
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
     3
# Copyright (c) 2009 Symbian Foundation Ltd
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
     4
# This component and the accompanying materials are made available
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
     5
# under the terms of the License "Eclipse Public License v1.0"
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
     6
# which accompanies this distribution, and is available
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
     8
#
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
     9
# Initial Contributors:
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    10
# Symbian Foundation Ltd - initial contribution.
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    11
#	Maciej Seroka, maciejs@symbian.org
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    12
#
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    13
# Description:
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    14
#   Script to build ATS test drop for Smoketest.
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    15
1
8758140453c0 Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    16
use strict;
25
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    17
use Getopt::Long;
1
8758140453c0 Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    18
use File::Copy;
8758140453c0 Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    19
use File::Path;
8758140453c0 Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    20
25
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    21
my $target;
38
09fe1b977394 Added new smoketest plan for ATS4
Maciej Seroka <maciejs@symbian.org>
parents: 25
diff changeset
    22
my $ats_version;
25
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    23
my $help;
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    24
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    25
sub usage($);
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    26
sub help();
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    27
sub usage_error();
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    28
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    29
my %optmap = (  'target' => \$target,
38
09fe1b977394 Added new smoketest plan for ATS4
Maciej Seroka <maciejs@symbian.org>
parents: 25
diff changeset
    30
				'ats-version' => \$ats_version,
25
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    31
				'help' => \$help);
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    32
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    33
GetOptions(\%optmap,
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    34
          'target=s',
38
09fe1b977394 Added new smoketest plan for ATS4
Maciej Seroka <maciejs@symbian.org>
parents: 25
diff changeset
    35
		  'ats-version=s',
25
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    36
		  'help!') 
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    37
          or usage_error();
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    38
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    39
if ($help) {
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    40
	help();
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    41
}
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    42
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    43
# --target is not mandatory.
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    44
if ((!defined($target)) || (lc($target) eq "winscw")) {
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    45
    $target = "WINSCW";
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    46
	print "Building ATS test drop for Emulator... \n";
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    47
}
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    48
elsif (lc($target) eq "syborg") {
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    49
    $target = "SYBORG";
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    50
    print "Building ATS test drop for Syborg... \n";
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    51
}
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    52
else {
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    53
	# unknown target.
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    54
    usage_error();
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    55
}
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    56
38
09fe1b977394 Added new smoketest plan for ATS4
Maciej Seroka <maciejs@symbian.org>
parents: 25
diff changeset
    57
# --ats-version is not mandatory.
09fe1b977394 Added new smoketest plan for ATS4
Maciej Seroka <maciejs@symbian.org>
parents: 25
diff changeset
    58
if (!defined($ats_version)) { # Set ats3 by default
09fe1b977394 Added new smoketest plan for ATS4
Maciej Seroka <maciejs@symbian.org>
parents: 25
diff changeset
    59
	$ats_version = "ats3" 
09fe1b977394 Added new smoketest plan for ATS4
Maciej Seroka <maciejs@symbian.org>
parents: 25
diff changeset
    60
}
09fe1b977394 Added new smoketest plan for ATS4
Maciej Seroka <maciejs@symbian.org>
parents: 25
diff changeset
    61
1
8758140453c0 Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    62
unlink "smoketest.zip";
8758140453c0 Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    63
rmtree "temp";
25
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    64
mkpath "temp";
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    65
64
a67132c2eb0c Fixed smoketest.pl
Maciej Seroka <maciejs@symbian.org>
parents: 63
diff changeset
    66
my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
a67132c2eb0c Fixed smoketest.pl
Maciej Seroka <maciejs@symbian.org>
parents: 63
diff changeset
    67
25
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    68
if ($target eq "WINSCW") { # Build ATS test drop for Emulator.
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    69
	mkpath "temp/smoketest/general";
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    70
	mkpath "temp/smoketest/winscw_udeb";
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    71
	mkpath "temp/smoketest/sms/general";
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    72
	mkpath "temp/smoketest/emailmessage/general";
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    73
	mkpath "temp/smoketest/emailsettings/general";
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    74
	mkpath "temp/smoketest/wallpaper/general";
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    75
	mkpath "temp/smoketest/appinstall/general";
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    76
	mkpath "temp/smoketest/10003a3f/general";
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    77
	mkpath "temp/smoketest/resource/general";
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    78
	mkpath "temp/smoketest/localisation/general";
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    79
	mkpath "temp/smoketest/bitmap/general";
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    80
	mkpath "temp/smoketest/ethernet/general";
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    81
	mkpath "temp/smoketest/web/general";
1
8758140453c0 Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    82
38
09fe1b977394 Added new smoketest plan for ATS4
Maciej Seroka <maciejs@symbian.org>
parents: 25
diff changeset
    83
	if (lc($ats_version) eq "ats3") { copy("smoketest.xml",				"temp/test.xml"); } # Use ATS3 test plan.
09fe1b977394 Added new smoketest plan for ATS4
Maciej Seroka <maciejs@symbian.org>
parents: 25
diff changeset
    84
	if (lc($ats_version) eq "ats4") { copy("ats4_smoketest.xml",		"temp/test.xml"); } # Use ATS4 test plan.
25
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    85
	copy($epoc . "data/z/smoketest/smoketest_agenda.ini",				"temp/smoketest/general/smoketest_agenda.ini");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    86
	copy($epoc . "data/z/smoketest/smoketest_agenda.script",			"temp/smoketest/general/smoketest_agenda.script");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    87
	copy($epoc . "data/z/smoketest/smoketest_apploader.ini",			"temp/smoketest/general/smoketest_apploader.ini");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    88
	copy($epoc . "data/z/smoketest/smoketest_apploader.script",			"temp/smoketest/general/smoketest_apploader.script");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    89
	copy($epoc . "data/z/smoketest/smoketest_contacts.ini",				"temp/smoketest/general/smoketest_contacts.ini");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    90
	copy($epoc . "data/z/smoketest/smoketest_contacts.script",			"temp/smoketest/general/smoketest_contacts.script");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    91
	copy($epoc . "data/z/smoketest/smoketest_createsmsaccount.script",	"temp/smoketest/general/smoketest_createsmsaccount.script");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    92
	copy($epoc . "data/z/smoketest/smoketest_mess.ini",					"temp/smoketest/general/smoketest_mess.ini");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    93
	copy($epoc . "data/z/smoketest/smoketest_mess.script",				"temp/smoketest/general/smoketest_mess.script");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    94
	copy($epoc . "data/z/smoketest/smoketest_phone.script",				"temp/smoketest/general/smoketest_phone.script");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    95
	copy($epoc . "data/z/smoketest/smoketest_syncmlapp.script",			"temp/smoketest/general/smoketest_syncmlapp.script");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    96
	copy($epoc . "data/z/smoketest/smoketest_system.script",			"temp/smoketest/general/smoketest_system.script");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    97
	copy($epoc . "data/z/smoketest/smoketest_timew.ini",				"temp/smoketest/general/smoketest_timew.ini");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    98
	copy($epoc . "data/z/smoketest/smoketest_timew.script",				"temp/smoketest/general/smoketest_timew.script");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
    99
	copy($epoc . "data/z/smoketest/smoketest_email.ini",				"temp/smoketest/general/smoketest_email.ini");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   100
	copy($epoc . "data/z/smoketest/smoketest_email.script",				"temp/smoketest/general/smoketest_email.script");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   101
	copy($epoc . "data/z/smoketest/smoketest_lbs.ini",					"temp/smoketest/general/smoketest_lbs.ini");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   102
	copy($epoc . "data/z/smoketest/smoketest_lbs.script",				"temp/smoketest/general/smoketest_lbs.script");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   103
	copy($epoc . "data/z/smoketest/smoketest_language.script",			"temp/smoketest/general/smoketest_language.script");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   104
	copy($epoc . "data/z/smoketest/smoketest_bitmap.ini",				"temp/smoketest/general/smoketest_bitmap.ini");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   105
	copy($epoc . "data/z/smoketest/smoketest_bitmap.script",			"temp/smoketest/general/smoketest_bitmap.script");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   106
	copy($epoc . "data/z/smoketest/smoketest_http.ini",					"temp/smoketest/general/smoketest_http.ini");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   107
	copy($epoc . "data/z/smoketest/smoketest_http.script",				"temp/smoketest/general/smoketest_http.script");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   108
	copy($epoc . "data/z/smoketest/sms/message1.txt",					"temp/smoketest/sms/general/message1.txt");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   109
	copy($epoc . "data/z/smoketest/MachineName.txt",					"temp/smoketest/general/MachineName.txt");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   110
	copy($epoc . "data/z/smoketest/emailmessage/20KBody.txt",			"temp/smoketest/emailmessage/general/20KBody.txt");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   111
	copy($epoc . "data/z/smoketest/emailsettings/popsettings_test908.txt",	"temp/smoketest/emailsettings/general/popsettings_test908.txt");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   112
	copy($epoc . "data/z/private/10003a3f/apps/openservice1a.rsc",		"temp/smoketest/10003a3f/general/openservice1a.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   113
	copy($epoc . "data/z/private/10003a3f/apps/openservice1b.rsc",		"temp/smoketest/10003a3f/general/openservice1b.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   114
	copy($epoc . "data/z/private/10003a3f/apps/serverapp2_reg.rsc",		"temp/smoketest/10003a3f/general/serverapp2_reg.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   115
	copy($epoc . "data/z/private/10003a3f/apps/serverapp3_reg.rsc",		"temp/smoketest/10003a3f/general/serverapp3_reg.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   116
	copy($epoc . "data/z/private/10003a3f/apps/serverapp4_reg.rsc",		"temp/smoketest/10003a3f/general/serverapp4_reg.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   117
	copy($epoc . "data/z/private/10003a3f/apps/serverapp6_reg.rsc",		"temp/smoketest/10003a3f/general/serverapp6_reg.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   118
	copy($epoc . "data/z/private/10003a3f/apps/serverapp7_reg.rsc",		"temp/smoketest/10003a3f/general/serverapp7_reg.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   119
	copy($epoc . "data/z/private/10003a3f/apps/serverapp_reg.rsc",		"temp/smoketest/10003a3f/general/serverapp_reg.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   120
	copy($epoc . "data/z/private/10003a3f/apps/t_dataprioritysystem3_reg.rsc",	"temp/smoketest/10003a3f/general/t_dataprioritysystem3_reg.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   121
	copy($epoc . "data/z/private/10003a3f/apps/t_groupname_reg.rsc",	"temp/smoketest/10003a3f/general/t_groupname_reg.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   122
	copy($epoc . "data/z/private/10003a3f/apps/t_groupnamever1_reg.rsc","temp/smoketest/10003a3f/general/t_groupnamever1_reg.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   123
	copy($epoc . "data/z/private/10003a3f/apps/t_groupnamever2_reg.rsc","temp/smoketest/10003a3f/general/t_groupnamever2_reg.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   124
	copy($epoc . "data/z/private/10003a3f/apps/tctrlpnlapp_reg.rsc",	"temp/smoketest/10003a3f/general/tctrlpnlapp_reg.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   125
	copy($epoc . "data/z/private/10003a3f/apps/testtrustedpriorityapp1_reg.rsc","temp/smoketest/10003a3f/general/testtrustedpriorityapp1_reg.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   126
	copy($epoc . "data/z/private/10003a3f/apps/testtrustedpriorityapp2_reg.rsc","temp/smoketest/10003a3f/general/testtrustedpriorityapp2_reg.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   127
	copy($epoc . "data/z/resource/apps/customisedefaulticonapp_loc.rsc","temp/smoketest/resource/general/customisedefaulticonapp_loc.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   128
	copy($epoc . "data/z/resource/apps/default_app_icon.m02",			"temp/smoketest/resource/general/default_app_icon.m02");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   129
	copy($epoc . "data/z/resource/apps/serverapp_loc.rsc",				"temp/smoketest/resource/general/serverapp_loc.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   130
	copy($epoc . "data/z/resource/apps/t_groupname_loc.rsc",			"temp/smoketest/resource/general/t_groupname_loc.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   131
	copy($epoc . "data/z/resource/apps/t_groupnamever1_loc.rsc",		"temp/smoketest/resource/general/t_groupnamever1_loc.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   132
	copy($epoc . "data/z/resource/apps/t_groupnamever2_loc.rsc",		"temp/smoketest/resource/general/t_groupnamever2_loc.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   133
	copy($epoc . "data/z/resource/apps/tstapp02.m02",					"temp/smoketest/resource/general/tstapp02.m02");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   134
	copy($epoc . "data/z/resource/apps/tstapp.mbm",						"temp/smoketest/resource/general/tstapp.mbm");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   135
	copy($epoc . "data/z/resource/apps/tstapp.rsc",						"temp/smoketest/resource/general/tstapp.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   136
	copy($epoc . "data/z/resource/apps/tstapp_loc.r01",					"temp/smoketest/resource/general/tstapp_loc.r01");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   137
	copy($epoc . "data/z/resource/apps/tstapp_loc.r02",					"temp/smoketest/resource/general/tstapp_loc.r02");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   138
	copy($epoc . "data/z/resource/apps/tstapp_loc.r03",					"temp/smoketest/resource/general/tstapp_loc.r03");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   139
	copy($epoc . "data/z/resource/apps/tstapp_loc.r04",					"temp/smoketest/resource/general/tstapp_loc.r04");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   140
	copy($epoc . "data/z/resource/apps/tstapp_loc.r05",					"temp/smoketest/resource/general/tstapp_loc.r05");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   141
	copy($epoc . "data/z/resource/apps/tstapp_loc.rsc",					"temp/smoketest/resource/general/tstapp_loc.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   142
	copy($epoc . "data/z/resource/apps/tstappview",						"temp/smoketest/resource/general/tstappview");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   143
	copy($epoc . "data/z/resource/apps/tstappview01.m01",				"temp/smoketest/resource/general/tstappview01.m01");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   144
	copy($epoc . "data/z/resource/apps/tstappview01.m02",				"temp/smoketest/resource/general/tstappview01.m02");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   145
	copy($epoc . "data/z/resource/apps/tstappview02.k",					"temp/smoketest/resource/general/tstappview02.k");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   146
	copy($epoc . "data/z/private/10003a3f/import/apps/customisedefaulticonapp_reg.rsc",	"temp/smoketest/localisation/general/customisedefaulticonapp_reg.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   147
	copy($epoc . "data/z/private/10003a3f/import/apps/testuntrustedpriorityapp1_reg.rsc","temp/smoketest/localisation/general/testuntrustedpriorityapp1_reg.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   148
	copy($epoc . "data/z/private/10003a3f/import/apps/testuntrustedpriorityapp2_reg.rsc","temp/smoketest/localisation/general/testuntrustedpriorityapp2_reg.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   149
	copy($epoc . "data/z/private/10003a3f/import/apps/tstapp_reg.rsc",	"temp/smoketest/localisation/general/tstapp_reg.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   150
	copy($epoc . "data/z/resource/plugins/tstapp_embedded.rsc",			"temp/smoketest/localisation/general/tstapp_embedded.rsc");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   151
	copy($epoc . "data/z/smoketest/bitmap/uibench_16bit.mbm",			"temp/smoketest/bitmap/general/uibench_16bit.mbm");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   152
	copy($epoc . "data/z/delproxy.pl",									"temp/smoketest/ethernet/general/delproxy.pl");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   153
	copy($epoc . "release/winscw/udeb/SmokeTestSecureFSclient.dll",		"temp/smoketest/winscw_udeb/SmokeTestSecureFSclient.dll");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   154
	copy($epoc . "release/winscw/udeb/SmokeTestSecureFSserver.exe",		"temp/smoketest/winscw_udeb/SmokeTestSecureFSserver.exe");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   155
	copy($epoc . "release/winscw/udeb/Smoketest_Agenda_Server.exe",		"temp/smoketest/winscw_udeb/Smoketest_Agenda_Server.exe");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   156
	copy($epoc . "release/winscw/udeb/smoketest_apploader.exe",			"temp/smoketest/winscw_udeb/smoketest_apploader.exe");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   157
	copy($epoc . "release/winscw/udeb/Smoketest_Contacts_Server.exe",	"temp/smoketest/winscw_udeb/Smoketest_Contacts_Server.exe");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   158
	copy($epoc . "release/winscw/udeb/Smoketest_Mess_Server.exe",		"temp/smoketest/winscw_udeb/Smoketest_Mess_Server.exe");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   159
	copy($epoc . "release/winscw/udeb/Smoketest_System.exe",			"temp/smoketest/winscw_udeb/Smoketest_System.exe");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   160
	copy($epoc . "release/winscw/udeb/Smoketest_Timew_Server.exe",		"temp/smoketest/winscw_udeb/Smoketest_Timew_Server.exe");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   161
	copy($epoc . "release/winscw/udeb/SmokeTest_Utils.dll",				"temp/smoketest/winscw_udeb/SmokeTest_Utils.dll");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   162
	copy($epoc . "release/winscw/udeb/t_msgutilityserver.dll",			"temp/smoketest/winscw_udeb/t_msgutilityserver.dll");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   163
	copy($epoc . "release/winscw/udeb/t_msgpopserver.exe",				"temp/smoketest/winscw_udeb/t_msgpopserver.exe");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   164
	copy($epoc . "release/winscw/udeb/t_msgsmtpserver.exe",				"temp/smoketest/winscw_udeb/t_msgsmtpserver.exe");
54
a4835904093b Added new LbsApi smoke test
Maciej Seroka <maciejs@symbian.org>
parents: 47
diff changeset
   165
	copy($epoc . "release/winscw/udeb/te_lbsapisuite.exe",				"temp/smoketest/winscw_udeb/te_lbsapisuite.exe");
25
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   166
	copy($epoc . "release/winscw/udeb/appfwk_test_AppUi.dll",			"temp/smoketest/winscw_udeb/appfwk_test_AppUi.dll");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   167
	copy($epoc . "release/winscw/udeb/appfwk_test_utils.dll",			"temp/smoketest/winscw_udeb/appfwk_test_utils.dll");
58
7a02f8565ef5 Implemented Language-setting smoke test for ATS4
Maciej Seroka <maciejs@symbian.org>
parents: 54
diff changeset
   168
	copy($epoc . "release/winscw/udeb/ticonloaderandiconarrayforleaks.dll",	"temp/smoketest/winscw_udeb/ticonloaderandiconarrayforleaks.dll");
7a02f8565ef5 Implemented Language-setting smoke test for ATS4
Maciej Seroka <maciejs@symbian.org>
parents: 54
diff changeset
   169
	copy($epoc . "release/winscw/udeb/tstapp_embedded.dll",				"temp/smoketest/winscw_udeb/tstapp_embedded.dll");
25
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   170
	copy($epoc . "release/winscw/udeb/apparctestserver.exe",			"temp/smoketest/winscw_udeb/apparctestserver.exe");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   171
	copy($epoc . "release/winscw/udeb/tstapp.exe",						"temp/smoketest/winscw_udeb/tstapp.exe");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   172
	copy($epoc . "release/winscw/udeb/t_animplugin.dll",				"temp/smoketest/winscw_udeb/t_animplugin.dll");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   173
	copy($epoc . "release/winscw/udeb/t_graphicswservapi.exe",			"temp/smoketest/winscw_udeb/t_graphicswservapi.exe");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   174
	copy($epoc . "release/winscw/udeb/twsgraphicshare.exe",				"temp/smoketest/winscw_udeb/twsgraphicshare.exe");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   175
	copy($epoc . "release/winscw/udeb/twsgraphicunshare.exe",			"temp/smoketest/winscw_udeb/twsgraphicunshare.exe");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   176
	copy($epoc . "release/winscw/udeb/testhttpsuite.exe",				"temp/smoketest/winscw_udeb/testhttpsuite.exe");
1
8758140453c0 Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   177
25
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   178
	copy($epoc . "release/winscw/udeb/ProfileSmokeTestModule.dll",      "temp/smoketest/winscw_udeb/ProfileSmokeTestModule.dll");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   179
	copy($epoc . "winscw/c/smoketest/ProfileSmokeTestModule.cfg",       "temp/smoketest/general/ProfileSmokeTestModule.cfg");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   180
	copy($epoc . "release/winscw/udeb/AppInstallSmokeTestModule.dll",   "temp/smoketest/winscw_udeb/AppInstallSmokeTestModule.dll");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   181
	copy($epoc . "winscw/c/smoketest/AppInstallSmokeTestModule.cfg",    "temp/smoketest/general/AppInstallSmokeTestModule.cfg");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   182
	copy($epoc . "winscw/c/smoketest/appinstall/sistest_winscw.sisx",   "temp/smoketest/appinstall/general/sistest_winscw.sisx");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   183
	copy($epoc . "release/winscw/udeb/TestNpdApi.dll",					"temp/smoketest/winscw_udeb/TestNpdApi.dll");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   184
	copy($epoc . "data/c/smoketest/smoketest_notepad.cfg",				"temp/smoketest/general/smoketest_notepad.cfg");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   185
	copy($epoc . "data/c/smoketest/ui_TestNpdApi.cfg",					"temp/smoketest/general/ui_TestNpdApi.cfg");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   186
	copy($epoc . "release/winscw/udeb/testsdkskins.dll",				"temp/smoketest/winscw_udeb/testsdkskins.dll");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   187
	copy($epoc . "data/c/smoketest/smoketest_uiresources.cfg",			"temp/smoketest/general/smoketest_uiresources.cfg");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   188
	copy($epoc . "data/c/smoketest/ui_testsdkskinsu.cfg",				"temp/smoketest/general/ui_testsdkskinsu.cfg");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   189
	copy($epoc . "data/c/smoketest/ui_testsdkskinswu.cfg",				"temp/smoketest/general/ui_testsdkskinswu.cfg");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   190
	copy($epoc . "data/c/smoketest/wallpaper/symbian_01_320x480.jpg",	"temp/smoketest/wallpaper/general/symbian_01_320x480.jpg");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   191
	copy($epoc . "release/winscw/udeb/InputMethodSmokeTestModule.dll",  "temp/smoketest/winscw_udeb/InputMethodSmokeTestModule.dll");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   192
	copy($epoc . "winscw/c/smoketest/InputMethodSmokeTestModule.cfg",   "temp/smoketest/general/InputMethodSmokeTestModule.cfg");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   193
	copy($epoc . "release/winscw/udeb/MediaMgmtSmokeTestModule.dll",	"temp/smoketest/winscw_udeb/MediaMgmtSmokeTestModule.dll");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   194
	copy($epoc . "winscw/c/smoketest/UI_MediaMgmtSmokeTestModule.cfg",  "temp/smoketest/general/UI_MediaMgmtSmokeTestModule.cfg");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   195
	copy($epoc . "winscw/c/smoketest/MediaMgmtSmokeTestModule.cfg",   	"temp/smoketest/general/MediaMgmtSmokeTestModule.cfg");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   196
	copy($epoc . "data/c/smoketest/web/loadtest2.html",					"temp/smoketest/web/general/loadtest2.html");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   197
	copy($epoc . "data/c/smoketest/web/img8.jpg",						"temp/smoketest/web/general/img8.jpg");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   198
	copy($epoc . "winscw/c/smoketest/ui_browser_control_smoke.cfg",   	"temp/smoketest/general/ui_browser_control_smoke.cfg");
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   199
	copy($epoc . "release/winscw/udeb/BrCtlApiTest.dll",				"temp/smoketest/winscw_udeb/BrCtlApiTest.dll");
47
a7888304ad19 Added Qt tests to the test plan
Brendan Donegan <brendand@symbian.org>
parents: 38
diff changeset
   200
	
a7888304ad19 Added Qt tests to the test plan
Brendan Donegan <brendand@symbian.org>
parents: 38
diff changeset
   201
	copy($epoc . "release/winscw/udeb/tst_smoke_qapplication.exe",		"temp/smoketest/winscw_udeb/tst_smoke_qapplication.exe");
a7888304ad19 Added Qt tests to the test plan
Brendan Donegan <brendand@symbian.org>
parents: 38
diff changeset
   202
	copy($epoc . "release/winscw/udeb/tst_smoke_qwidget.exe",			"temp/smoketest/winscw_udeb/tst_smoke_qwidget.exe");
a7888304ad19 Added Qt tests to the test plan
Brendan Donegan <brendand@symbian.org>
parents: 38
diff changeset
   203
	copy($epoc . "release/winscw/udeb/tst_smoke_qtgestures.exe",		"temp/smoketest/winscw_udeb/tst_smoke_qtgestures.exe");
25
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   204
}
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   205
elsif ($target eq "SYBORG") { # Build ATS test drop for Syborg.
63
29a90d2412a4 Fixed Smoketest on Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 58
diff changeset
   206
	mkpath "temp/smoketest/general";
29a90d2412a4 Fixed Smoketest on Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 58
diff changeset
   207
	mkpath "temp/smoketest/emailmessage/general";
29a90d2412a4 Fixed Smoketest on Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 58
diff changeset
   208
	mkpath "temp/smoketest/emailsettings/general";
29a90d2412a4 Fixed Smoketest on Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 58
diff changeset
   209
	mkpath "temp/smoketest/web/general";
29a90d2412a4 Fixed Smoketest on Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 58
diff changeset
   210
38
09fe1b977394 Added new smoketest plan for ATS4
Maciej Seroka <maciejs@symbian.org>
parents: 25
diff changeset
   211
	if (lc($ats_version) eq "ats3") { copy("smoketest_syborg.xml",		"temp/test.xml"); } # Use ATS3 test plan.
09fe1b977394 Added new smoketest plan for ATS4
Maciej Seroka <maciejs@symbian.org>
parents: 25
diff changeset
   212
	if (lc($ats_version) eq "ats4") { copy("ats4_smoketest_syborg.xml",	"temp/test.xml"); } # Use ATS4 test plan.
63
29a90d2412a4 Fixed Smoketest on Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 58
diff changeset
   213
	copy($epoc . "data/z/smoketest/smoketest_apploader_syborg.ini",		"temp/smoketest/general/smoketest_apploader.ini");
29a90d2412a4 Fixed Smoketest on Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 58
diff changeset
   214
	copy($epoc . "data/z/smoketest/MachineName.txt",					"temp/smoketest/general/MachineName.txt");
29a90d2412a4 Fixed Smoketest on Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 58
diff changeset
   215
	copy($epoc . "data/z/smoketest/emailmessage/20KBody_syborg.txt",	"temp/smoketest/emailmessage/general/20KBody.txt");
29a90d2412a4 Fixed Smoketest on Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 58
diff changeset
   216
	copy($epoc . "data/z/smoketest/emailsettings/popsettings_test908.txt",	"temp/smoketest/emailsettings/general/popsettings_test908.txt");
65
095ced8bfefa Fixed App install/uninstall smoke test for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 64
diff changeset
   217
	copy($epoc . "winscw/c/smoketest/AppInstallSmokeTestModule_z.cfg",	"temp/smoketest/general/AppInstallSmokeTestModule.cfg");
63
29a90d2412a4 Fixed Smoketest on Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 58
diff changeset
   218
	copy($epoc . "data/c/smoketest/ui_TestNpdApi.cfg",					"temp/smoketest/general/ui_TestNpdApi.cfg");
29a90d2412a4 Fixed Smoketest on Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 58
diff changeset
   219
	copy($epoc . "data/c/smoketest/ui_testsdkskinsu.cfg",				"temp/smoketest/general/ui_testsdkskinsu.cfg");
29a90d2412a4 Fixed Smoketest on Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 58
diff changeset
   220
	copy($epoc . "data/c/smoketest/ui_testsdkskinswu.cfg",				"temp/smoketest/general/ui_testsdkskinswu.cfg");
29a90d2412a4 Fixed Smoketest on Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 58
diff changeset
   221
	copy($epoc . "winscw/c/smoketest/UI_MediaMgmtSmokeTestModule.cfg",  "temp/smoketest/general/UI_MediaMgmtSmokeTestModule.cfg");
29a90d2412a4 Fixed Smoketest on Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 58
diff changeset
   222
	copy($epoc . "data/c/smoketest/web/loadtest2.html",					"temp/smoketest/web/general/loadtest2.html");
25
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   223
}
1
8758140453c0 Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   224
8758140453c0 Added Symbian2 smoketests from FBF at changeset bde28f2b1d99
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   225
system("7z a -tzip smoketest.zip ./temp/*");
25
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   226
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   227
exit 0;
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   228
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   229
sub usage($)
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   230
{
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   231
    my $error = shift;
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   232
    my $fh = $error == 0 ? *STDOUT : *STDERR;
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   233
    print $fh "smoketest.pl\n" .
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   234
            "Specify the target\n" .
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   235
            "synopsis:\n" .
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   236
            "  smoketest.pl --help\n" .
38
09fe1b977394 Added new smoketest plan for ATS4
Maciej Seroka <maciejs@symbian.org>
parents: 25
diff changeset
   237
            "  smoketest.pl [--target=TARGET] [--ats-version=VERSION]\n" .
25
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   238
            "options:\n" .
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   239
            "  --help                        Display this help and exit.\n" .
38
09fe1b977394 Added new smoketest plan for ATS4
Maciej Seroka <maciejs@symbian.org>
parents: 25
diff changeset
   240
			"  --target=TARGET               TARGET is the target on which the smoketest will be run (WINSCW | SYBORG). If not specified WINSCW will be used.\n" .
09fe1b977394 Added new smoketest plan for ATS4
Maciej Seroka <maciejs@symbian.org>
parents: 25
diff changeset
   241
            "  --ats-version=VERSION         VERSION is the version of ATS which will be used to run the smoketest (ATS3 | ATS4). If not specified ATS3 will be set by default.\n";
09fe1b977394 Added new smoketest plan for ATS4
Maciej Seroka <maciejs@symbian.org>
parents: 25
diff changeset
   242
    exit $error;
25
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   243
}
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   244
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   245
sub help()
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   246
{
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   247
    usage(0);
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   248
}
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   249
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   250
sub usage_error()
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   251
{
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   252
    usage(1);
41d3d13445ee Created smoketest plan for Syborg
Maciej Seroka <maciejs@symbian.org>
parents: 24
diff changeset
   253
}