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