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