451
|
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 |
# Description:
|
|
12 |
# Script to build ATS test drop for landmarks_api tests
|
|
13 |
|
|
14 |
|
|
15 |
use strict;
|
|
16 |
use File::Copy;
|
|
17 |
use File::Path;
|
|
18 |
|
|
19 |
unlink "landmarks_api.zip";
|
|
20 |
##rmtree "temp";
|
|
21 |
mkpath "temp/landmarks/general/testframework";
|
|
22 |
mkpath "temp/landmarks/winscw_udeb";
|
|
23 |
|
|
24 |
my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
|
|
25 |
copy("landmarks.xml", "temp/test.xml");
|
|
26 |
|
|
27 |
copy($epoc . "release/winscw/udeb/testlandmarksapi.dll", "temp/landmarks/winscw_udeb/testlandmarksapi.dll");
|
|
28 |
copy($epoc . "winscw/c/testframework/TestFramework_Landmarks.ini", "temp/landmarks/general/testframework/TestFramework_Landmarks.ini");
|
|
29 |
copy($epoc . "winscw/c/testframework/testlandmarksapi.cfg", "temp/landmarks/general/testframework/testlandmarksapi.cfg");
|
|
30 |
copy($epoc . "winscw/c/testing/data/smiltemplate.mif", "temp/landmarks/general/smiltemplate.mif");
|
|
31 |
copy($epoc . "winscw/c/testing/data/testEposLmImport.lmx", "temp/landmarks/general/testEposLmImport.lmx");
|
|
32 |
copy($epoc . "winscw/c/testing/data/testEposLmImportCollection.lmx", "temp/landmarks/general/testEposLmImportCollection.lmx");
|
|
33 |
|
|
34 |
system("7z a -tzip landmarks_api.zip ./temp/*");
|