os/ossrv/genericopenlibs/cppstdlib/test/tools/README
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/genericopenlibs/cppstdlib/test/tools/README	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,46 @@
     1.4 +PreTest
     1.5 +==============================
     1.6 +Build libstdcpp for Winscw, ARMV5
     1.7 +
     1.8 +Build PlumHall for winscw ARMV5
     1.9 +
    1.10 +
    1.11 +
    1.12 +
    1.13 +
    1.14 +WINSCW Tests
    1.15 +==========================
    1.16 +1. Copy ph_exe_list.bat to EPOCROOT\epoc32\release\winscw\udeb\z 
    1.17 +2. If there is a file ph.log in EPOCROOT\epoc32\winscw\c, delete it
    1.18 +3. Run epoc
    1.19 +4. Open eshell
    1.20 +5. Goto Z:  (type z: in eshell)
    1.21 +6. Run all tests (type ph_exe_list.bat)
    1.22 +   This runs all the EXEs and generates a report file ph.log in EPOCROOT\epoc32\winscw\c.
    1.23 +
    1.24 +7. To generate a summary, copy the script ph_log_analysis.pl to EPOCROOT\epoc32\winscw\c 
    1.25 +and run it (From a windows command prompt, type "perl ph_log_analysis.pl")
    1.26 +A summary file (PH_report.txt) is generated in the same directory.
    1.27 +
    1.28 +
    1.29 +PS: The no of test cases are around 2500-2600.  
    1.30 +If the summary is showing more, delete the ph.log file as mentioned above and run the tests again.
    1.31 +
    1.32 +ARM Tests
    1.33 +==========================================
    1.34 +1. Build libstdcpp and plumhall for ARMV5
    1.35 +2. Create a new directory for building ROM.  (eg: /epoc32/ph_rom)
    1.36 +3. copy ph_exe_list.bat to this directory    (eg: /epoc32/ph_rom)
    1.37 +4. Open a command prompt, change to this new directory.
    1.38 +
    1.39 +5. Build ROM with this command
    1.40 +   buildrom h4hrp textshell -D_FULL_DEBUG openenv.iby plumhalltests.iby
    1.41 +
    1.42 +6. You'll get a .IMG file.  Rename it to sys$rom.bin.  Copy it into the H4 board's memory card.
    1.43 +7. Boot H4. 
    1.44 +8. Open EShell.
    1.45 +9. Run ph_exe_list.bat
    1.46 +
    1.47 +The test log is created in E:  (memory card)
    1.48 +Once the tests are done, copy the test log from the memory card to PC.
    1.49 +