author | Simon Howkins <simonh@symbian.org> |
Mon, 02 Nov 2009 22:23:26 +0000 | |
changeset 744 | 22e6c7258a80 |
parent 740 | cd5265e3bfd7 |
child 748 | e13acd883fbe |
permissions | -rw-r--r-- |
136
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
1 |
#!/usr/bin/perl |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
2 |
|
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
3 |
use strict; |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
4 |
use File::Copy; |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
5 |
use File::Path; |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
6 |
|
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
7 |
unlink "smoketest.zip"; |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
8 |
rmtree "temp"; |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
9 |
mkpath "temp/smoketest/general"; |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
10 |
mkpath "temp/smoketest/winscw_udeb"; |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
11 |
mkpath "temp/smoketest/sms/general"; |
719
d5603c08781b
Added smoketest for email
Maciej Seroka <maciejs@symbian.org>
parents:
136
diff
changeset
|
12 |
mkpath "temp/smoketest/emailmessage/general"; |
d5603c08781b
Added smoketest for email
Maciej Seroka <maciejs@symbian.org>
parents:
136
diff
changeset
|
13 |
mkpath "temp/smoketest/emailsettings/general"; |
136
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
14 |
|
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
15 |
my $epoc=$ENV{'EPOCROOT'} . "epoc32/"; |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
16 |
copy("smoketest.xml", "temp/test.xml"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
17 |
copy($epoc . "data/z/smoketest/smoketest_agenda.ini", "temp/smoketest/general/smoketest_agenda.ini"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
18 |
copy($epoc . "data/z/smoketest/smoketest_agenda.script", "temp/smoketest/general/smoketest_agenda.script"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
19 |
copy($epoc . "data/z/smoketest/smoketest_apploader.ini", "temp/smoketest/general/smoketest_apploader.ini"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
20 |
copy($epoc . "data/z/smoketest/smoketest_apploader.script", "temp/smoketest/general/smoketest_apploader.script"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
21 |
copy($epoc . "data/z/smoketest/smoketest_contacts.ini", "temp/smoketest/general/smoketest_contacts.ini"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
22 |
copy($epoc . "data/z/smoketest/smoketest_contacts.script", "temp/smoketest/general/smoketest_contacts.script"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
23 |
copy($epoc . "data/z/smoketest/smoketest_createsmsaccount.script", "temp/smoketest/general/smoketest_createsmsaccount.script"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
24 |
copy($epoc . "data/z/smoketest/smoketest_mess.ini", "temp/smoketest/general/smoketest_mess.ini"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
25 |
copy($epoc . "data/z/smoketest/smoketest_mess.script", "temp/smoketest/general/smoketest_mess.script"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
26 |
copy($epoc . "data/z/smoketest/smoketest_phone.script", "temp/smoketest/general/smoketest_phone.script"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
27 |
copy($epoc . "data/z/smoketest/smoketest_syncmlapp.script", "temp/smoketest/general/smoketest_syncmlapp.script"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
28 |
copy($epoc . "data/z/smoketest/smoketest_system.script", "temp/smoketest/general/smoketest_system.script"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
29 |
copy($epoc . "data/z/smoketest/smoketest_timew.ini", "temp/smoketest/general/smoketest_timew.ini"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
30 |
copy($epoc . "data/z/smoketest/smoketest_timew.script", "temp/smoketest/general/smoketest_timew.script"); |
719
d5603c08781b
Added smoketest for email
Maciej Seroka <maciejs@symbian.org>
parents:
136
diff
changeset
|
31 |
copy($epoc . "data/z/smoketest/smoketest_email.ini", "temp/smoketest/general/smoketest_email.ini"); |
d5603c08781b
Added smoketest for email
Maciej Seroka <maciejs@symbian.org>
parents:
136
diff
changeset
|
32 |
copy($epoc . "data/z/smoketest/smoketest_email.script", "temp/smoketest/general/smoketest_email.script"); |
136
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
33 |
copy($epoc . "data/z/smoketest/sms/message1.txt", "temp/smoketest/sms/general/message1.txt"); |
719
d5603c08781b
Added smoketest for email
Maciej Seroka <maciejs@symbian.org>
parents:
136
diff
changeset
|
34 |
copy($epoc . "data/z/smoketest/MachineName.txt", "temp/smoketest/general/MachineName.txt"); |
d5603c08781b
Added smoketest for email
Maciej Seroka <maciejs@symbian.org>
parents:
136
diff
changeset
|
35 |
copy($epoc . "data/z/smoketest/emailmessage/20KBody.txt", "temp/smoketest/emailmessage/general/20KBody.txt"); |
d5603c08781b
Added smoketest for email
Maciej Seroka <maciejs@symbian.org>
parents:
136
diff
changeset
|
36 |
copy($epoc . "data/z/smoketest/emailsettings/popsettings_test908.txt", "temp/smoketest/emailsettings/general/popsettings_test908.txt"); |
136
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
37 |
copy($epoc . "release/winscw/udeb/SmokeTestSecureFSclient.dll", "temp/smoketest/winscw_udeb/SmokeTestSecureFSclient.dll"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
38 |
copy($epoc . "release/winscw/udeb/SmokeTestSecureFSserver.exe", "temp/smoketest/winscw_udeb/SmokeTestSecureFSserver.exe"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
39 |
copy($epoc . "release/winscw/udeb/Smoketest_Agenda_Server.exe", "temp/smoketest/winscw_udeb/Smoketest_Agenda_Server.exe"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
40 |
copy($epoc . "release/winscw/udeb/smoketest_apploader.exe", "temp/smoketest/winscw_udeb/smoketest_apploader.exe"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
41 |
copy($epoc . "release/winscw/udeb/Smoketest_Contacts_Server.exe", "temp/smoketest/winscw_udeb/Smoketest_Contacts_Server.exe"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
42 |
copy($epoc . "release/winscw/udeb/Smoketest_Mess_Server.exe", "temp/smoketest/winscw_udeb/Smoketest_Mess_Server.exe"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
43 |
copy($epoc . "release/winscw/udeb/Smoketest_System.exe", "temp/smoketest/winscw_udeb/Smoketest_System.exe"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
44 |
copy($epoc . "release/winscw/udeb/Smoketest_Timew_Server.exe", "temp/smoketest/winscw_udeb/Smoketest_Timew_Server.exe"); |
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
45 |
copy($epoc . "release/winscw/udeb/SmokeTest_Utils.dll", "temp/smoketest/winscw_udeb/SmokeTest_Utils.dll"); |
719
d5603c08781b
Added smoketest for email
Maciej Seroka <maciejs@symbian.org>
parents:
136
diff
changeset
|
46 |
copy($epoc . "release/winscw/udeb/t_msgutilityserver.dll", "temp/smoketest/winscw_udeb/t_msgutilityserver.dll"); |
d5603c08781b
Added smoketest for email
Maciej Seroka <maciejs@symbian.org>
parents:
136
diff
changeset
|
47 |
copy($epoc . "release/winscw/udeb/t_msgpopserver.exe", "temp/smoketest/winscw_udeb/t_msgpopserver.exe"); |
d5603c08781b
Added smoketest for email
Maciej Seroka <maciejs@symbian.org>
parents:
136
diff
changeset
|
48 |
copy($epoc . "release/winscw/udeb/t_msgsmtpserver.exe", "temp/smoketest/winscw_udeb/t_msgsmtpserver.exe"); |
136
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
49 |
|
724 | 50 |
copy($epoc . "release/winscw/udeb/ProfileSmokeTestModule.dll", "temp/smoketest/winscw_udeb/ProfileSmokeTestModule.dll"); |
726 | 51 |
copy($epoc . "winscw/c/smoketest/ProfileSmokeTestModule.cfg", "temp/smoketest/general/ProfileSmokeTestModule.cfg"); |
740
cd5265e3bfd7
Test: Changes to test drop files to run AppInstall
brendand
parents:
729
diff
changeset
|
52 |
copy($epoc . "release/winscw/udeb/AppInstallSmokeTestModule.dll", "temp/smoketest/winscw_udeb/AppInstallSmokeTestModule.dll"); |
cd5265e3bfd7
Test: Changes to test drop files to run AppInstall
brendand
parents:
729
diff
changeset
|
53 |
copy($epoc . "winscw/c/smoketest/AppInstallSmokeTestModule.cfg", "temp/smoketest/general/AppInstallSmokeTestModule.cfg"); |
729
eaa8962bb979
Added smoketest for Notepad
Maciej Seroka <maciejs@symbian.org>
parents:
726
diff
changeset
|
54 |
copy($epoc . "release/winscw/udeb/TestNpdApi.dll", "temp/smoketest/winscw_udeb/TestNpdApi.dll"); |
eaa8962bb979
Added smoketest for Notepad
Maciej Seroka <maciejs@symbian.org>
parents:
726
diff
changeset
|
55 |
copy($epoc . "data/c/smoketest/smoketest_notepad.cfg", "temp/smoketest/general/smoketest_notepad.cfg"); |
eaa8962bb979
Added smoketest for Notepad
Maciej Seroka <maciejs@symbian.org>
parents:
726
diff
changeset
|
56 |
copy($epoc . "data/c/smoketest/ui_TestNpdApi.cfg", "temp/smoketest/general/ui_TestNpdApi.cfg"); |
724 | 57 |
|
136
44a878dcb782
Add perl script to build test zip
Louis Henry Nayegon <louisn@symbian.org>
parents:
diff
changeset
|
58 |
system("7z a -tzip smoketest.zip ./temp/*"); |