author | Brendan Donegan brendand@symbian.org |
Thu, 01 Oct 2009 13:19:42 +0100 | |
changeset 552 | 8018a074606b |
parent 428 | 9b0221f74cf8 |
permissions | -rw-r--r-- |
428
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
1 |
#!/usr/bin/perl |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
2 |
# Copyright (c) 2009 Symbian Foundation Ltd |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
3 |
# This component and the accompanying materials are made available |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
4 |
# under the terms of the License "Eclipse Public License v1.0" |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
5 |
# which accompanies this distribution, and is available |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
6 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html". |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
7 |
# |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
8 |
# Initial Contributors: |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
9 |
# Symbian Foundation Ltd - initial contribution. |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
10 |
# |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
11 |
# Contributors: |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
12 |
# Brendan Donegan <brendand@symbian.org> |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
13 |
# |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
14 |
# Description: |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
15 |
# Script to build ATS test drop for BC Profiles Engine tests |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
16 |
|
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
17 |
|
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
18 |
use strict; |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
19 |
use File::Copy; |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
20 |
use File::Path; |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
21 |
|
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
22 |
unlink "profilesengine.zip"; |
552
8018a074606b
removed 'NAME' property from test plans
Brendan Donegan brendand@symbian.org
parents:
428
diff
changeset
|
23 |
rmtree "temp"; |
428
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
24 |
mkpath "temp/bcprofilesengine/general/testframework"; |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
25 |
mkpath "temp/bcprofilesengine/winscw_udeb"; |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
26 |
|
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
27 |
my $epoc=$ENV{'EPOCROOT'} . "epoc32/"; |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
28 |
copy("profilesengine.xml", "temp/test.xml"); |
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
29 |
|
552
8018a074606b
removed 'NAME' property from test plans
Brendan Donegan brendand@symbian.org
parents:
428
diff
changeset
|
30 |
copy($epoc . "release/winscw/udeb/proengwrapapi.dll", "temp/bcprofilesengine/winscw_udeb/proengwrapapi.dll") or die "failed : $!"; |
8018a074606b
removed 'NAME' property from test plans
Brendan Donegan brendand@symbian.org
parents:
428
diff
changeset
|
31 |
copy($epoc . "winscw/c/testframework/testframework_proengwrapapi.ini", "temp/bcprofilesengine/general/testframework/testframework_proengwrapapi.ini") or die "failed : $!"; |
8018a074606b
removed 'NAME' property from test plans
Brendan Donegan brendand@symbian.org
parents:
428
diff
changeset
|
32 |
copy($epoc . "winscw/c/testframework/proengwrapapi.cfg", "temp/bcprofilesengine/general/testframework/proengwrapapi.cfg") or die "failed : $!"; |
428
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
33 |
|
9b0221f74cf8
added bc tests for profiles engine
Brendan Donegan brendand@symbian.org
parents:
diff
changeset
|
34 |
system("7z a -tzip profilesengine.zip ./temp/*"); |