Testing on Targets
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
- Testing on Targets in Polyspace Platform User Interface
Register target in user interface, build and run test on target
- Testing on Targets Using Existing Toolchain Setup
Set up communication with target, build and run tests on target