编译和测试自动化
使用之前准备的 Polyspace® 平台工程编译和运行测试
您可以在 Polyspace 平台用户界面中编写测试,但使用 polyspace-test 命令以编程方式编译和运行这些测试。
系统命令
主题
Polyspace 平台工程的源代码管理
- Create Easily Shareable Projects for Version Control
Create projects that are easy to share and submit to version control by using relative paths, variables, and a modular project structure. - Compare and Merge Polyspace Platform Projects and Configurations Before Submission to Source Control
Compare Polyspace Platform projects (.psprjxfiles) with version in repository, and resolve conflicts in sources, configuration, or tests in project.
编译和测试自动化
- Automate C/C++ Test Execution Using Polyspace Platform Projects
Build and run C/C++ tests in a project on a continuous integration (CI) server, upload results to Polyspace Access™ web server. - Automate C/C++ Code Profiling Using Polyspace Platform Projects
Calculate metrics such as code coverage, execution time, and memory use on a continuous integration (CI) server.
在目标上运行测试
- Automate C/C++ Test Execution on Targets Using Polyspace Platform Projects
Build and run tests on a custom target board programmatically using the command line interface, for instance, on a continuous integration server. - Automate C/C++ Code Profiling on Targets Using Polyspace Platform Projects
Calculate metrics such as code coverage or execution time on a custom target board using the command line interface.