author | Maciej Seroka <maciejs@symbian.org> |
Tue, 15 Sep 2009 15:46:43 +0100 | |
changeset 452 | a95e14867851 |
child 552 | 8018a074606b |
permissions | -rw-r--r-- |
452
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
1 |
#!/usr/bin/perl |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
2 |
# Copyright (c) 2009 Symbian Foundation Ltd |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
3 |
# This component and the accompanying materials are made available |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
4 |
# under the terms of the License "Eclipse Public License v1.0" |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
5 |
# which accompanies this distribution, and is available |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
6 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html". |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
7 |
# |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
8 |
# Initial Contributors: |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
9 |
# Symbian Foundation Ltd - initial contribution. |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
10 |
# |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
11 |
# Contributors: |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
12 |
# Maciej Seroka <maciejs@symbian.org> |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
13 |
# |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
14 |
# Description: |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
15 |
# Script to build ATS test drop Landmarks Search BC tests |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
16 |
|
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
17 |
|
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
18 |
use strict; |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
19 |
use File::Copy; |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
20 |
use File::Path; |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
21 |
|
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
22 |
unlink "lmsearchtest.zip"; |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
23 |
##rmtree "temp"; |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
24 |
mkpath "temp/lmsearchtest/general/testframework"; |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
25 |
mkpath "temp/lmsearchtest/winscw_udeb"; |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
26 |
|
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
27 |
my $epoc=$ENV{'EPOCROOT'} . "epoc32/"; |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
28 |
copy("lmsearch.xml", "temp/test.xml"); |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
29 |
|
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
30 |
copy($epoc . "release/winscw/udeb/testlmksearchapi.dll", "temp/lmsearchtest/winscw_udeb/testlmksearchapi.dll"); |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
31 |
copy($epoc . "winscw/c/testframework/TestFramework_lmsearch.ini", "temp/lmsearchtest/general/testframework/TestFramework_lmsearch.ini"); |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
32 |
copy($epoc . "winscw/c/testframework/testlmksearchapi.cfg", "temp/lmsearchtest/general/testframework/testlmksearchapi.cfg"); |
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
33 |
|
a95e14867851
New Landmarks Search BC tests
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
34 |
system("7z a -tzip lmsearchtest.zip ./temp/*"); |