author | Maciej Seroka <maciejs@symbian.org> |
Wed, 14 Oct 2009 14:54:28 +0100 | |
changeset 663 | 27b2711afab1 |
parent 657 | 4a45293616f5 |
permissions | -rw-r--r-- |
642 | 1 |
#!/usr/bin/perl |
2 |
# Copyright (c) 2009 Symbian Foundation Ltd |
|
3 |
# This component and the accompanying materials are made available |
|
4 |
# under the terms of the License "Eclipse Public License v1.0" |
|
5 |
# which accompanies this distribution, and is available |
|
6 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 |
# |
|
8 |
# Initial Contributors: |
|
9 |
# Symbian Foundation Ltd - initial contribution. |
|
10 |
# |
|
11 |
# Contributors: |
|
12 |
# Maciej Seroka <maciejs@symbian.org> |
|
13 |
# |
|
14 |
# Description: |
|
663
27b2711afab1
Updated comments in perl scripts
Maciej Seroka <maciejs@symbian.org>
parents:
657
diff
changeset
|
15 |
# Script to build ATS test drop for Landmarks Item Id Db Combi Info BC tests |
642 | 16 |
|
17 |
||
18 |
use strict; |
|
19 |
use File::Copy; |
|
20 |
use File::Path; |
|
21 |
||
22 |
unlink "locdbcitest.zip"; |
|
23 |
rmtree "temp"; |
|
24 |
mkpath "temp/locdbcitest/general/testframework"; |
|
25 |
mkpath "temp/locdbcitest/winscw_udeb"; |
|
26 |
||
27 |
my $epoc=$ENV{'EPOCROOT'} . "epoc32/"; |
|
28 |
copy("locdbci.xml", "temp/test.xml"); |
|
29 |
||
30 |
copy($epoc . "release/winscw/udeb/landmarksitemiddbcombiinfo.dll", "temp/locdbcitest/winscw_udeb/landmarksitemiddbcombiinfo.dll") or die "failed : $!"; |
|
31 |
copy($epoc . "winscw/c/testframework/testframework_locdbci.ini", "temp/locdbcitest/general/testframework/testframework_locdbci.ini") or die "failed : $!"; |
|
32 |
copy($epoc . "winscw/c/testframework/ui_lmkitemiddbcombiinfo.cfg", "temp/locdbcitest/general/testframework/ui_lmkitemiddbcombiinfo.cfg") or die "failed : $!"; |
|
33 |
copy($epoc . "winscw/c/testframework/tclmkitemiddbcombiinfo.cfg", "temp/locdbcitest/general/testframework/tclmkitemiddbcombiinfo.cfg") or die "failed : $!"; |
|
34 |
||
35 |
system("7z a -tzip locdbcitest.zip ./temp/*"); |