Testing on Targets in Polyspace Platform User Interface
To execute tests on a target, you must register the target using a custom registration file that describes your target including board, processor, toolchain, and communication interface. After this one-time registration, you can select this target in your project configuration, and then build and run tests on the target using the same steps as you would follow when executing tests on your host computer.
Polyspace Options
Target board name (Testing) | Specify the target board that you run your test executable on |
Processor | Select the processor for the current build configuration |
Compilation toolchain (Testing) | Specify the compiler that you use to build your source code and tests for dynamic testing |
Tools
| Toolchain | Create, validate, and register a custom toolchain for building C/C++ sources and tests |
Topics
- Get Started with C/C++ Test Execution on Target
Create your first target registration file, register target, run tests on target, calculate code coverage for on-target execution.
- Run C/C++ Tests on Target in Polyspace Platform User Interface
Register target, build tests for target, run tests on target.
- Calculate C/C++ Code Profiling Metrics on Target in Polyspace Platform User Interface
Calculate code coverage, execution time, and memory use of graphically authored tests on a custom board.
- Create Target Registration Packages for C/C++ Test Execution on Targets
Learn the basic structure of the MATLAB® code file used to register a target in Polyspace® Platform.
- Adapt Polyspace Test Target Package for TRACE32 Instruction Set Simulator
Adapt an existing target registration package to use the Lauterbach TRACE32 Instruction Set Simulator (ISS) for debugging without physical target hardware.