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 Based Workflows for TRACE32 Debugging
Register a target with a connection using TRACE32 debug probes and run or debug tests starting from a Polyspace Platform project.