author | Maciej Seroka <maciejs@symbian.org> |
Thu, 26 Aug 2010 14:03:44 +0100 | |
changeset 1230 | 0f78fc0a8217 |
parent 552 | 8018a074606b |
permissions | -rw-r--r-- |
440 | 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 |
# Brendan Donegan <brendand@symbian.org> |
|
13 |
# |
|
14 |
# Description: |
|
15 |
# Script to build ATS test drop for BC Profiles Engine tests |
|
16 |
||
17 |
||
18 |
use strict; |
|
19 |
use File::Copy; |
|
20 |
use File::Path; |
|
21 |
||
22 |
unlink "browser.zip"; |
|
525
5fdd56755c8a
put in rmtree to cleanup properly
Brendan Donegan brendand@symbian.org
parents:
458
diff
changeset
|
23 |
rmtree "temp"; |
440 | 24 |
mkpath "temp/bcbrowser/winscw_udeb"; |
458
ef8c69f2539d
Add http download manager tests
Louis Henry Nayegon <louisn@symbian.org>
parents:
440
diff
changeset
|
25 |
mkpath "temp/bcbrowser/general/testframework"; |
440 | 26 |
|
27 |
my $epoc=$ENV{'EPOCROOT'} . "epoc32/"; |
|
28 |
copy("browser.xml", "temp/test.xml"); |
|
29 |
||
552
8018a074606b
removed 'NAME' property from test plans
Brendan Donegan brendand@symbian.org
parents:
525
diff
changeset
|
30 |
copy($epoc . "release/winscw/udeb/favouritesbctest.dll", "temp/bcbrowser/winscw_udeb/favouritesbctest.dll") or die "failed : $!"; |
8018a074606b
removed 'NAME' property from test plans
Brendan Donegan brendand@symbian.org
parents:
525
diff
changeset
|
31 |
copy($epoc . "release/winscw/udeb/downloadmgrbctest.dll", "temp/bcbrowser/winscw_udeb/downloadmgrbctest.dll") or die "failed : $!"; |
440 | 32 |
|
552
8018a074606b
removed 'NAME' property from test plans
Brendan Donegan brendand@symbian.org
parents:
525
diff
changeset
|
33 |
copy($epoc . "winscw/c/testframework/testframework_dwmgr.ini", "temp/bcbrowser/general/testframework/testframework_dwmgr.ini") or die "failed : $!"; |
458
ef8c69f2539d
Add http download manager tests
Louis Henry Nayegon <louisn@symbian.org>
parents:
440
diff
changeset
|
34 |
|
ef8c69f2539d
Add http download manager tests
Louis Henry Nayegon <louisn@symbian.org>
parents:
440
diff
changeset
|
35 |
system("7z a -tzip browser.zip ./temp/*"); |