author | Brendan Donegan brendand@symbian.org |
Sat, 03 Oct 2009 21:54:15 +0100 | |
changeset 611 | 0f19bbf75c06 |
parent 444 | edfd4034265b |
permissions | -rw-r--r-- |
444 | 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 contacts phonebook tests |
|
16 |
||
17 |
||
18 |
use strict; |
|
19 |
use File::Copy; |
|
20 |
use File::Path; |
|
21 |
||
22 |
unlink "clocktest.zip"; |
|
611
0f19bbf75c06
fixed up most of the issues with the dynamic bc test plans
Brendan Donegan brendand@symbian.org
parents:
444
diff
changeset
|
23 |
rmtree "temp"; |
444 | 24 |
mkpath "temp/clocktest/general/testframework"; |
25 |
mkpath "temp/clocktest/general/bcardtest2"; |
|
26 |
mkpath "temp/clocktest/winscw_udeb/z/resource/plugins"; |
|
27 |
||
28 |
my $epoc=$ENV{'EPOCROOT'} . "epoc32/"; |
|
29 |
copy("clock.xml", "temp/test.xml"); |
|
30 |
||
611
0f19bbf75c06
fixed up most of the issues with the dynamic bc test plans
Brendan Donegan brendand@symbian.org
parents:
444
diff
changeset
|
31 |
copy($epoc . "release/winscw/udeb/bctestclock.dll", "temp/clocktest/winscw_udeb/bctestclock.dll") or die "failed : $!"; |
0f19bbf75c06
fixed up most of the issues with the dynamic bc test plans
Brendan Donegan brendand@symbian.org
parents:
444
diff
changeset
|
32 |
copy($epoc . "winscw/c/testframework/testframework_pimclock.ini", "temp/clocktest/general/testframework/testframework_pimclock.ini") or die "failed : $!"; |
0f19bbf75c06
fixed up most of the issues with the dynamic bc test plans
Brendan Donegan brendand@symbian.org
parents:
444
diff
changeset
|
33 |
copy($epoc . "winscw/c/testframework/tcbctestclock.cfg", "temp/clocktest/general/testframework/tcbctestclock.cfg") or die "failed : $!"; |
0f19bbf75c06
fixed up most of the issues with the dynamic bc test plans
Brendan Donegan brendand@symbian.org
parents:
444
diff
changeset
|
34 |
copy($epoc . "winscw/c/testframework/ui_bctestclock.cfg", "temp/clocktest/general/testframework/ui_bctestclock.cfg") or die "failed : $!"; |
444 | 35 |
|
36 |
system("7z a -tzip clocktest.zip ./temp/*"); |