author | Dario Sestito <darios@symbian.org> |
Mon, 16 Nov 2009 18:16:32 +0000 | |
changeset 769 | 81fe60d54485 |
parent 552 | 8018a074606b |
child 1228 | 32ae1f6f1c35 |
permissions | -rw-r--r-- |
438
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
1 |
#!/usr/bin/perl |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
2 |
# Copyright (c) 2009 Symbian Foundation Ltd |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
3 |
# This component and the accompanying materials are made available |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
4 |
# under the terms of the License "Eclipse Public License v1.0" |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
5 |
# which accompanies this distribution, and is available |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
6 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
7 |
# |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
8 |
# Initial Contributors: |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
9 |
# Symbian Foundation Ltd - initial contribution. |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
10 |
# |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
11 |
# Contributors: |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
12 |
# Louis Henry Nayegon <louisn@symbian.org> |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
13 |
# |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
14 |
# Description: |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
15 |
# Script to build ATS test drop system software tests |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
16 |
|
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
17 |
|
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
18 |
use strict; |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
19 |
use File::Copy; |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
20 |
use File::Path; |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
21 |
|
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
22 |
unlink "systemswtest.zip"; |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
23 |
rmtree "temp"; |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
24 |
mkpath "temp/systemswtest/winscw_udeb"; |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
25 |
|
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
26 |
my $epoc=$ENV{'EPOCROOT'} . "epoc32/"; |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
27 |
copy("systemsw.xml", "temp/test.xml"); |
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
28 |
|
522
1e5db729c58c
added or die statements
Brendan Donegan brendand@symbian.org
parents:
438
diff
changeset
|
29 |
copy($epoc . "release/winscw/udeb/featuremanagertest.dll", "temp/systemswtest/winscw_udeb/featuremanagertest.dll") or die "failed : $!"; |
1e5db729c58c
added or die statements
Brendan Donegan brendand@symbian.org
parents:
438
diff
changeset
|
30 |
copy($epoc . "release/winscw/udeb/finditemenginetest.dll", "temp/systemswtest/winscw_udeb/finditemenginetest.dll") or die "failed : $!"; |
1e5db729c58c
added or die statements
Brendan Donegan brendand@symbian.org
parents:
438
diff
changeset
|
31 |
copy($epoc . "release/winscw/udeb/light.dll", "temp/systemswtest/winscw_udeb/light.dll") or die "failed : $!"; |
1e5db729c58c
added or die statements
Brendan Donegan brendand@symbian.org
parents:
438
diff
changeset
|
32 |
copy($epoc . "release/winscw/udeb/networkstatustest.dll", "temp/systemswtest/winscw_udeb/networkstatustest.dll") or die "failed : $!"; |
1e5db729c58c
added or die statements
Brendan Donegan brendand@symbian.org
parents:
438
diff
changeset
|
33 |
copy($epoc . "release/winscw/udeb/phoneparsertest.dll", "temp/systemswtest/winscw_udeb/phoneparsertest.dll") or die "failed : $!"; |
1e5db729c58c
added or die statements
Brendan Donegan brendand@symbian.org
parents:
438
diff
changeset
|
34 |
copy($epoc . "release/winscw/udeb/platformenvtest.dll", "temp/systemswtest/winscw_udeb/platformenvtest.dll") or die "failed : $!"; |
1e5db729c58c
added or die statements
Brendan Donegan brendand@symbian.org
parents:
438
diff
changeset
|
35 |
copy($epoc . "release/winscw/udeb/powerstatetest.dll", "temp/systemswtest/winscw_udeb/powerstatetest.dll") or die "failed : $!"; |
1e5db729c58c
added or die statements
Brendan Donegan brendand@symbian.org
parents:
438
diff
changeset
|
36 |
copy($epoc . "release/winscw/udeb/sysutiltest.dll", "temp/systemswtest/winscw_udeb/sysutiltest.dll") or die "failed : $!"; |
1e5db729c58c
added or die statements
Brendan Donegan brendand@symbian.org
parents:
438
diff
changeset
|
37 |
copy($epoc . "release/winscw/udeb/stiftextresolvertest.dll", "temp/systemswtest/winscw_udeb/stiftextresolvertest.dll") or die "failed : $!"; |
1e5db729c58c
added or die statements
Brendan Donegan brendand@symbian.org
parents:
438
diff
changeset
|
38 |
copy($epoc . "release/winscw/udeb/hwresmantest.dll", "temp/systemswtest/winscw_udeb/hwresmantest.dll") or die "failed : $!"; |
552
8018a074606b
removed 'NAME' property from test plans
Brendan Donegan brendand@symbian.org
parents:
522
diff
changeset
|
39 |
##copy($epoc . "release/winscw/udeb/vibractrltest.dll", "temp/systemswtest/winscw_udeb/vibractrltest.dll") or die "failed : $!"; |
522
1e5db729c58c
added or die statements
Brendan Donegan brendand@symbian.org
parents:
438
diff
changeset
|
40 |
copy($epoc . "release/winscw/udeb/platformvertest.dll", "temp/systemswtest/winscw_udeb/platformvertest.dll") or die "failed : $!"; |
1e5db729c58c
added or die statements
Brendan Donegan brendand@symbian.org
parents:
438
diff
changeset
|
41 |
copy($epoc . "release/winscw/udeb/accmonapibctests.dll", "temp/systemswtest/winscw_udeb/accmonapibctests.dll") or die "failed : $!"; |
438
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
42 |
|
6832752a1de3
Update script header commnets
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
43 |
system("7z a -tzip systemswtest.zip ./temp/*"); |