Running Tests Manually

You can manually run the tests on armv5 and winscw platforms using the TestExecute tool.

  1. Build the ROM image if you are running the tests on armv5.

    You can use the following command to build the ROM image:

    buildrom -D_EABI=ARMV5 –DRVCT -DUSE_STRONG_CRYPTOGRAPHY h4hrp techview t_ecom

    This command builds ROM image on the PC which is transferred to the hardware board through MMC card.

  2. If you want to run the tests on winscw, navigate to …%EPOCROOT%\epoc32\release\winscw\<urel/udeb> and run the setup script (setup_<test suite name>.script).

    There are two setup scripts:

    • setup_t_ecom.script: Used to run the entire SysLibs test suite.

    • setup_SYSLIB_ECom-PublicAPI.script: Used to run the test suite for a specific class using the setup script.

    Note: If you want to run tests on armv5, run the scripts using eshell.
  3. Run the tests using the following commands:

    testexecute z:\ecom\setup_<test suite name>.script

    testexecute c:\ecom\<test suite name>.script