服务器上的编译和测试自动化
R2026b使用之前准备的 Polyspace® 平台工程编译和运行测试
将 Polyspace 平台工程提交到 CI 服务器。作为持续集成的一环,编译工程、运行测试,并将结果上传到 Polyspace Access™ 以进行基于 Web 的审查:
polyspace-test-server -build myproject.psprjx -results-dir results
polyspace-test-server -run myproject.psprjx -results-dir results
polyspace-access -upload results/ps_test.pstestr -parent-project myproject -host <HOST> -port <PORT>要从源代码、测试和配置即时创建工程,请参阅使用 Python API 实现服务器上的工作流自动化。
系统命令
主题
- Run Polyspace Test Server and Upload Results for Web-based Review
Run tests after code submission, and upload test and coverage results for review to web server.