pstest_add_convert_target
(CMake) Create target for converting test or code profiling results to standard Polyspace Test format
Since R2025a
Syntax
Description
This function in the Polyspace®
Test™ CMake package creates a target for converting test and code profiling results
from a machine-readable, XML, or binary format to a format that can be reviewed in the
Polyspace Platform user interface. When you invoke this target, it uses polyspace-test
-convert to perform the conversion.
pstest_add_convert_target(
creates a target target RESULTS_DIRS dir1 dir2 ... dirN CONVERTED_RESULTS_DIR resultsDir)target for converting:
Test results from a machine-readable (
.mrf) or XML format to the standard Polyspace Test result (.pstestr) format.Code profiling results from a binary (
.bin) format to the standard Polyspace Test code profiling result (.psprof) format.
You can then review these results in the Polyspace Platform user interface or upload the results to the Polyspace Access™ web server.
pstest_add_convert_target(
allows you to specify the name target RESULTS_DIRS dir1 dir2 ... dirN CONVERTED_RESULTS_DIR resultsDir [CONVERTED_RESULTS_NAME resultsName])name for the generated results
files.
pstest_add_convert_target(
allows you to specify additional options for customizing the conversion process.target RESULTS_DIRS dir1 dir2 ... dirN CONVERTED_RESULTS_DIR resultsDir [CONVERTED_RESULTS_NAME resultsName] [OTHER_ARGS arg1 arg2 ... argN])
Examples
Input Arguments
Version History
Introduced in R2025a