author | Simon Howkins <simonh@symbian.org> |
Mon, 07 Dec 2009 10:29:59 +0000 | |
changeset 809 | 6d9f7bb4fcec |
parent 797 | cbc760a5fedd |
child 854 | c0e6dd77e67f |
permissions | -rw-r--r-- |
439
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
1 |
#!/usr/bin/perl |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
2 |
# Copyright (c) 2009 Symbian Foundation Ltd |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
3 |
# This component and the accompanying materials are made available |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
4 |
# under the terms of the License "Eclipse Public License v1.0" |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
5 |
# which accompanies this distribution, and is available |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
6 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html". |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
7 |
# |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
8 |
# Initial Contributors: |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
9 |
# Symbian Foundation Ltd - initial contribution. |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
10 |
# |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
11 |
# Contributors: |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
12 |
# Brendan Donegan <brendand@symbian.org> |
443 | 13 |
# Maciej Seroka <maciejs@symbian.org> |
439
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
14 |
# |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
15 |
# Description: |
443 | 16 |
# Script to build ATS test drop for BC Web Services tests |
439
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
17 |
|
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
18 |
|
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
19 |
use strict; |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
20 |
use File::Copy; |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
21 |
use File::Path; |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
22 |
|
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
23 |
unlink "websrv.zip"; |
701 | 24 |
rmtree "temp"; |
439
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
25 |
mkpath "temp/bcwebsrv/general/testframework"; |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
26 |
mkpath "temp/bcwebsrv/winscw_udeb"; |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
27 |
|
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
28 |
my $epoc=$ENV{'EPOCROOT'} . "epoc32/"; |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
29 |
copy("websrv.xml", "temp/test.xml"); |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
30 |
|
701 | 31 |
copy($epoc . "release/winscw/udeb/CSenServiceConnectionBCTest.dll", "temp/bcwebsrv/winscw_udeb/CSenServiceConnectionBCTest.dll") or die "failed : $!"; |
32 |
copy($epoc . "winscw/c/testframework/testframework_connection.ini", "temp/bcwebsrv/general/testframework/testframework_connection.ini") or die "failed : $!"; |
|
33 |
copy($epoc . "release/winscw/udeb/HostletConnectionBCTest.dll", "temp/bcwebsrv/winscw_udeb/HostletConnectionBCTest.dll") or die "failed : $!"; |
|
34 |
copy($epoc . "winscw/c/testframework/TestFramework_hostlet.ini", "temp/bcwebsrv/general/testframework/TestFramework_hostlet.ini") or die "failed : $!"; |
|
35 |
copy($epoc . "release/winscw/udeb/newsoapclassesbctest.dll", "temp/bcwebsrv/winscw_udeb/newsoapclassesbctest.dll") or die "failed : $!"; |
|
36 |
copy($epoc . "winscw/c/testframework/testframework_newsoapclasses.ini", "temp/bcwebsrv/general/testframework/testframework_newsoapclasses.ini") or die "failed : $!"; |
|
37 |
copy($epoc . "release/winscw/udeb/SenServDescBCTest.dll", "temp/bcwebsrv/winscw_udeb/SenServDescBCTest.dll") or die "failed : $!"; |
|
38 |
copy($epoc . "winscw/c/testframework/testframework_senservdesc.ini", "temp/bcwebsrv/general/testframework/testframework_senservdesc.ini") or die "failed : $!"; |
|
39 |
copy($epoc . "release/winscw/udeb/SenServiceManagerBCTest.dll", "temp/bcwebsrv/winscw_udeb/SenServiceManagerBCTest.dll") or die "failed : $!"; |
|
40 |
copy($epoc . "winscw/c/testframework/testframework_senservicemanager.ini", "temp/bcwebsrv/general/testframework/testframework_senservicemanager.ini") or die "failed : $!"; |
|
41 |
copy($epoc . "release/winscw/udeb/SenUtilsBCTest.dll", "temp/bcwebsrv/winscw_udeb/SenUtilsBCTest.dll") or die "failed : $!"; |
|
42 |
copy($epoc . "winscw/c/testframework/testframework_senutils.ini", "temp/bcwebsrv/general/testframework/testframework_senutils.ini") or die "failed : $!"; |
|
797
cbc760a5fedd
Fixed perl scripts for building BC test drops
Maciej Seroka <maciejs@symbian.org>
parents:
701
diff
changeset
|
43 |
copy($epoc . "release/winscw/udeb/SenFragmentTester.dll", "temp/bcwebsrv/winscw_udeb/SenFragmentBCTest.dll") or die "failed : $!"; |
cbc760a5fedd
Fixed perl scripts for building BC test drops
Maciej Seroka <maciejs@symbian.org>
parents:
701
diff
changeset
|
44 |
#copy($epoc . "winscw/c/testframework/TestFramework_senfragment.ini", "temp/bcwebsrv/general/testframework/TestFramework_senfragment.ini") or die "failed : $!"; |
439
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
45 |
|
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
46 |
system("7z a -tzip websrv.zip ./temp/*"); |