author | Simon Howkins <simonh@symbian.org> |
Thu, 01 Oct 2009 17:21:32 +0100 | |
changeset 569 | 5af7cc0d44a1 |
parent 445 | 4cb7fa2cb693 |
child 701 | 332cfa36b186 |
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"; |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
24 |
##rmtree "temp"; |
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 |
|
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
31 |
copy($epoc . "release/winscw/udeb/CSenServiceConnectionBCTest.dll", "temp/bcwebsrv/winscw_udeb/CSenServiceConnectionBCTest.dll"); |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
32 |
copy($epoc . "winscw/c/testframework/testframework_connection.ini", "temp/bcwebsrv/general/testframework/testframework_connection.ini"); |
445
4cb7fa2cb693
added newsoapclasses to web service tests
Brendan Donegan brendand@symbian.org
parents:
443
diff
changeset
|
33 |
copy($epoc . "release/winscw/udeb/HostletConnectionBCTest.dll", "temp/bcwebsrv/winscw_udeb/HostletConnectionBCTest.dll"); |
4cb7fa2cb693
added newsoapclasses to web service tests
Brendan Donegan brendand@symbian.org
parents:
443
diff
changeset
|
34 |
copy($epoc . "winscw/c/testframework/TestFramework_hostlet.ini", "temp/bcwebsrv/general/testframework/TestFramework_hostlet.ini"); |
4cb7fa2cb693
added newsoapclasses to web service tests
Brendan Donegan brendand@symbian.org
parents:
443
diff
changeset
|
35 |
copy($epoc . "release/winscw/udeb/newsoapclassesbctest.dll", "temp/bcwebsrv/winscw_udeb/newsoapclassesbctest.dll"); |
4cb7fa2cb693
added newsoapclasses to web service tests
Brendan Donegan brendand@symbian.org
parents:
443
diff
changeset
|
36 |
copy($epoc . "winscw/c/testframework/testframework_newsoapclasses.ini", "temp/bcwebsrv/general/testframework/testframework_newsoapclasses.ini"); |
439
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
37 |
|
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
38 |
system("7z a -tzip websrv.zip ./temp/*"); |