author | Brendan Donegan brendand@symbian.org |
Mon, 14 Sep 2009 12:46:49 +0100 | |
changeset 439 | f9eb0ea5b237 |
child 443 | c63cdf02d7e8 |
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> |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
13 |
# |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
14 |
# Description: |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
15 |
# Script to build ATS test drop for BC Profiles Engine tests |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
16 |
|
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 |
use strict; |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
19 |
use File::Copy; |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
20 |
use File::Path; |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
21 |
|
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
22 |
unlink "websrv.zip"; |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
23 |
##rmtree "temp"; |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
24 |
mkpath "temp/bcwebsrv/general/testframework"; |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
25 |
mkpath "temp/bcwebsrv/winscw_udeb"; |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
26 |
|
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
27 |
my $epoc=$ENV{'EPOCROOT'} . "epoc32/"; |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
28 |
copy("websrv.xml", "temp/test.xml"); |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
29 |
|
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
30 |
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
|
31 |
copy($epoc . "winscw/c/testframework/testframework_connection.ini", "temp/bcwebsrv/general/testframework/testframework_connection.ini"); |
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
32 |
|
f9eb0ea5b237
Added new web service BC tests
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
33 |
system("7z a -tzip websrv.zip ./temp/*"); |