sl@0
|
1 |
PreTest
|
sl@0
|
2 |
==============================
|
sl@0
|
3 |
Build libstdcpp for Winscw, ARMV5
|
sl@0
|
4 |
|
sl@0
|
5 |
Build PlumHall for winscw ARMV5
|
sl@0
|
6 |
|
sl@0
|
7 |
|
sl@0
|
8 |
|
sl@0
|
9 |
|
sl@0
|
10 |
|
sl@0
|
11 |
WINSCW Tests
|
sl@0
|
12 |
==========================
|
sl@0
|
13 |
1. Copy ph_exe_list.bat to EPOCROOT\epoc32\release\winscw\udeb\z
|
sl@0
|
14 |
2. If there is a file ph.log in EPOCROOT\epoc32\winscw\c, delete it
|
sl@0
|
15 |
3. Run epoc
|
sl@0
|
16 |
4. Open eshell
|
sl@0
|
17 |
5. Goto Z: (type z: in eshell)
|
sl@0
|
18 |
6. Run all tests (type ph_exe_list.bat)
|
sl@0
|
19 |
This runs all the EXEs and generates a report file ph.log in EPOCROOT\epoc32\winscw\c.
|
sl@0
|
20 |
|
sl@0
|
21 |
7. To generate a summary, copy the script ph_log_analysis.pl to EPOCROOT\epoc32\winscw\c
|
sl@0
|
22 |
and run it (From a windows command prompt, type "perl ph_log_analysis.pl")
|
sl@0
|
23 |
A summary file (PH_report.txt) is generated in the same directory.
|
sl@0
|
24 |
|
sl@0
|
25 |
|
sl@0
|
26 |
PS: The no of test cases are around 2500-2600.
|
sl@0
|
27 |
If the summary is showing more, delete the ph.log file as mentioned above and run the tests again.
|
sl@0
|
28 |
|
sl@0
|
29 |
ARM Tests
|
sl@0
|
30 |
==========================================
|
sl@0
|
31 |
1. Build libstdcpp and plumhall for ARMV5
|
sl@0
|
32 |
2. Create a new directory for building ROM. (eg: /epoc32/ph_rom)
|
sl@0
|
33 |
3. copy ph_exe_list.bat to this directory (eg: /epoc32/ph_rom)
|
sl@0
|
34 |
4. Open a command prompt, change to this new directory.
|
sl@0
|
35 |
|
sl@0
|
36 |
5. Build ROM with this command
|
sl@0
|
37 |
buildrom h4hrp textshell -D_FULL_DEBUG openenv.iby plumhalltests.iby
|
sl@0
|
38 |
|
sl@0
|
39 |
6. You'll get a .IMG file. Rename it to sys$rom.bin. Copy it into the H4 board's memory card.
|
sl@0
|
40 |
7. Boot H4.
|
sl@0
|
41 |
8. Open EShell.
|
sl@0
|
42 |
9. Run ph_exe_list.bat
|
sl@0
|
43 |
|
sl@0
|
44 |
The test log is created in E: (memory card)
|
sl@0
|
45 |
Once the tests are done, copy the test log from the memory card to PC.
|
sl@0
|
46 |
|