|
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 # Louis Henry Nayegon <louisn@symbian.org> |
|
13 # |
|
14 # Description: |
|
15 # Script to build ATS test drop system software tests |
|
16 |
|
17 |
|
18 use strict; |
|
19 use File::Copy; |
|
20 use File::Path; |
|
21 |
|
22 unlink "systemswtest.zip"; |
|
23 rmtree "temp"; |
|
24 mkpath "temp/systemswtest/winscw_udeb"; |
|
25 |
|
26 my $epoc=$ENV{'EPOCROOT'} . "epoc32/"; |
|
27 copy("systemsw.xml", "temp/test.xml"); |
|
28 |
|
29 copy($epoc . "release/winscw/udeb/featuremanagertest.dll", "temp/systemswtest/winscw_udeb/featuremanagertest.dll"); |
|
30 copy($epoc . "release/winscw/udeb/finditemenginetest.dll", "temp/systemswtest/winscw_udeb/finditemenginetest.dll"); |
|
31 copy($epoc . "release/winscw/udeb/light.dll", "temp/systemswtest/winscw_udeb/light.dll"); |
|
32 copy($epoc . "release/winscw/udeb/networkstatustest.dll", "temp/systemswtest/winscw_udeb/networkstatustest.dll"); |
|
33 copy($epoc . "release/winscw/udeb/phoneparsertest.dll", "temp/systemswtest/winscw_udeb/phoneparsertest.dll"); |
|
34 copy($epoc . "release/winscw/udeb/platformenvtest.dll", "temp/systemswtest/winscw_udeb/platformenvtest.dll"); |
|
35 copy($epoc . "release/winscw/udeb/powerstatetest.dll", "temp/systemswtest/winscw_udeb/powerstatetest.dll"); |
|
36 copy($epoc . "release/winscw/udeb/sysutiltest.dll", "temp/systemswtest/winscw_udeb/sysutiltest.dll"); |
|
37 copy($epoc . "release/winscw/udeb/stiftextresolvertest.dll", "temp/systemswtest/winscw_udeb/stiftextresolvertest.dll"); |
|
38 copy($epoc . "release/winscw/udeb/hwresmantest.dll", "temp/systemswtest/winscw_udeb/hwresmantest.dll"); |
|
39 copy($epoc . "release/winscw/udeb/vibractrltest.dll", "temp/systemswtest/winscw_udeb/vibractrltest.dll"); |
|
40 copy($epoc . "release/winscw/udeb/platformvertest.dll", "temp/systemswtest/winscw_udeb/platformvertest.dll"); |
|
41 copy($epoc . "release/winscw/udeb/accmonapibctests.dll", "temp/systemswtest/winscw_udeb/accmonapibctests.dll"); |
|
42 |
|
43 system("7z a -tzip systemswtest.zip ./temp/*"); |