author | Simon Howkins <simonh@symbian.org> |
Tue, 25 May 2010 20:30:36 +0100 | |
changeset 1046 | 871bdf0d7610 |
parent 663 | 27b2711afab1 |
permissions | -rw-r--r-- |
446
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
1 |
#!/usr/bin/perl |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
2 |
# Copyright (c) 2009 Symbian Foundation Ltd |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
3 |
# This component and the accompanying materials are made available |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
4 |
# under the terms of the License "Eclipse Public License v1.0" |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
5 |
# which accompanies this distribution, and is available |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
6 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html". |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
7 |
# |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
8 |
# Initial Contributors: |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
9 |
# Symbian Foundation Ltd - initial contribution. |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
10 |
# |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
11 |
# Contributors: |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
12 |
# Maciej Seroka <maciejs@symbian.org> |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
13 |
# |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
14 |
# Description: |
663
27b2711afab1
Updated comments in perl scripts
Maciej Seroka <maciejs@symbian.org>
parents:
552
diff
changeset
|
15 |
# Script to build ATS test drop for Landmarks Database Management BC tests |
446
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
16 |
|
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
17 |
|
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
18 |
use strict; |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
19 |
use File::Copy; |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
20 |
use File::Path; |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
21 |
|
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
22 |
unlink "lmdbmanagementtest.zip"; |
552
8018a074606b
removed 'NAME' property from test plans
Brendan Donegan brendand@symbian.org
parents:
446
diff
changeset
|
23 |
rmtree "temp"; |
446
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
24 |
mkpath "temp/lmdbmanagementtest/general/testframework"; |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
25 |
mkpath "temp/lmdbmanagementtest/winscw_udeb"; |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
26 |
|
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
27 |
my $epoc=$ENV{'EPOCROOT'} . "epoc32/"; |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
28 |
copy("lmdbmanagement.xml", "temp/test.xml"); |
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
29 |
|
552
8018a074606b
removed 'NAME' property from test plans
Brendan Donegan brendand@symbian.org
parents:
446
diff
changeset
|
30 |
copy($epoc . "release/winscw/udeb/testdbmanagementapi.dll", "temp/lmdbmanagementtest/winscw_udeb/testdbmanagementapi.dll") or die "failed : $!"; |
8018a074606b
removed 'NAME' property from test plans
Brendan Donegan brendand@symbian.org
parents:
446
diff
changeset
|
31 |
copy($epoc . "winscw/c/testframework/testframework_lmdbmanagement.ini", "temp/lmdbmanagementtest/general/testframework/testframework_lmdbmanagement.ini") or die "failed : $!"; |
8018a074606b
removed 'NAME' property from test plans
Brendan Donegan brendand@symbian.org
parents:
446
diff
changeset
|
32 |
copy($epoc . "winscw/c/testframework/testdbmanagementapi.cfg", "temp/lmdbmanagementtest/general/testframework/testdbmanagementapi.cfg") or die "failed : $!"; |
446
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
33 |
|
a9ff40c5d7ed
New Landmarks Database Management BC test
Maciej Seroka <maciejs@symbian.org>
parents:
diff
changeset
|
34 |
system("7z a -tzip lmdbmanagementtest.zip ./temp/*"); |