主要内容

使用现有工具链设置在目标上运行测试

与目标建立通信、编译测试并在目标上运行测试

在测试是使用 Polyspace® Test™ C/C++ xUnit API 编写的情况下,您可以使用现有工具链设置在您自己的开发环境中编译这些测试,然后在目标板上运行它们。然后,您可以在主机上检索测试执行结果或代码探查结果,并将结果转换为支持的格式,以便在 Polyspace 平台用户界面中进行审查。

系统命令

polyspace-code-profiler(System Command) Profile your source code for calculating C/C++ code coverage, code execution time, and memory use
polyspace-test -monitor(System Command) Monitor execution of C/C++ xUnit tests and retrieve test and code profiling results
polyspace-test -convert(System Command) Convert test or code profiling results to standard Polyspace Test format
polyspace-test -generate(System Command) Generate test registration function from a set of Polyspace Test C/C++ test files

主题

测试执行

代码探查