Contenido principal

Testing on Targets

Register targets, build and run tests on target

In context of test execution in Polyspace® Test™, the word target refers to embedded systems with specific processor architecture, cross-compilation tools, and channels for communication with a host computer.

The steps to execute tests on targets are similar to the steps to execute tests on a host computer. However, you must perform a one-time setup to register your target in the Polyspace Platform user interface (or write adaptor code for host-target communication if you are executing C/C+ xUnit tests outside the Polyspace Platform user interface). Registering a target involves writing a custom target registration file that defines one or more of the following:

  • Toolchain – Cross-compiler, build tool, and so on.

  • Board and processor – Board and processor name, data type support, timer functions, and so on.

  • Communication interface – Channel, protocol, and so on.

Categories