author | William Roberts <williamr@symbian.org> |
Thu, 02 Sep 2010 12:17:04 +0100 | |
changeset 1241 | 776ca456c221 |
parent 1224 | c730de7721b8 |
permissions | -rw-r--r-- |
1224
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
1 |
#!/usr/bin/perl |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
2 |
# Copyright (c) 2009 Symbian Foundation Ltd |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
3 |
# This component and the accompanying materials are made available |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
4 |
# under the terms of the License "Eclipse Public License v1.0" |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
5 |
# which accompanies this distribution, and is available |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
6 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html". |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
7 |
# |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
8 |
# Initial Contributors: |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
9 |
# Symbian Foundation Ltd - initial contribution. |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
10 |
# |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
11 |
# Contributors: |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
12 |
# Maciej Seroka <maciejs@symbian.org> |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
13 |
# |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
14 |
# Description: |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
15 |
# Script to build ATS test drop for Metadata Services BC tests |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
16 |
|
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
17 |
|
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
18 |
use strict; |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
19 |
use File::Copy; |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
20 |
use File::Path; |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
21 |
|
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
22 |
unlink "metadatasrvtest.zip"; |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
23 |
rmtree "temp"; |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
24 |
mkpath "temp/metadatasrvtest/general/TestFramework"; |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
25 |
mkpath "temp/metadatasrvtest/winscw_udeb"; |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
26 |
|
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
27 |
my $epoc=$ENV{'EPOCROOT'} . "epoc32/"; |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
28 |
copy("metadatasrv.xml", "temp/test.xml"); |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
29 |
|
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
30 |
copy($epoc . "release/winscw/udeb/BCTestContentManagement.dll", "temp/metadatasrvtest/winscw_udeb/BCTestContentManagement.dll") or die "failed : $!"; |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
31 |
copy($epoc . "winscw/c/TestFramework/TestFramework_MMConMgmt.ini", "temp/metadatasrvtest/general/TestFramework/TestFramework_MMConMgmt.ini") or die "failed : $!"; |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
32 |
copy($epoc . "winscw/c/TestFramework/TestFramework_MMConMgmt_std.ini", "temp/metadatasrvtest/general/TestFramework/TestFramework_MMConMgmt_std.ini") or die "failed : $!"; |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
33 |
copy($epoc . "winscw/c/TestFramework/tcBCTestContentManagement.cfg", "temp/metadatasrvtest/general/TestFramework/tcBCTestContentManagement.cfg") or die "failed : $!"; |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
34 |
copy($epoc . "winscw/c/TestFramework/UI_BCTestContentManagement.cfg", "temp/metadatasrvtest/general/TestFramework/UI_BCTestContentManagement.cfg") or die "failed : $!"; |
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
35 |
|
c730de7721b8
Added BC tests for Location Triggering, Metadata Services and XML Extensions
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
36 |
system("7z a -tzip metadatasrvtest.zip ./temp/*"); |