Main Content

polyspace-test -merge

(System Command) Create a single test or code profiling result set from multiple result sets

Since R2023b

Description

The system command polyspace-test -merge aggregates results from multiple test or code profiling result files.

polyspace-test -merge -results-dir <resultsFolder> [-operation union] <resultPaths> generates a result file that contains an aggregate of the results from the all the files in <resultsPaths>.

polyspace-test -merge -results-dir <resultsFolder> -operation intersect <resultPaths> generates a result file that contains only those results that are present in all the files in <resultsPaths>.

polyspace-test -merge -results-dir <resultsFolder> -operation diff <resultPath1> <resultPath2> generates a result file that contains only those results in <resultPath1> that are not present in <resultPath2>.

polyspace-test -merge -results-dir <resultsFolder> -operation aggregate-variants <profilingResultsPaths> generates a result file that aggregates code profiling information from variants of the same source code.

Input Arguments

collapse all

Path to folder where the merged result file is stored.

One or more space separated paths. You can specify paths to result files (.pstestr or .psprof files) or folders containing result files. If you specify a folder, the command looks for result files only at the top level of the folder and not in subfolders.

If the folders contains filter files (.psprof.filter files) in addition to result files, a merge operation moves the most recent filter file into the merged result folder.

Path to folder containing a result file (.pstestr or .psprof file). The command looks for a result file only at the top level of the folder and not in subfolders.

Path to folder containing a result file (.pstestr or .psprof file). The command looks for a result file only at the top level of the folder and not in subfolders.

One or more space separated paths. You can specify paths to code profiling result files (.psprof files) or folders containing code profiling result files. If you specify a folder, the command looks for result files only at the top level of the folder and not in subfolders.

Version History

Introduced in R2023b