Skip to content

CTest result files are not in --test-result-base #79

@cottsay

Description

@cottsay

Example:

colcon build --test-result-base test_results
colcon test --test-result-base test_results
colcon test-result --test-result-base test_results --all --result-files-only

Expected behavior would be that the CTest Test.xml results from any ctest invocations would be printed. However, those files ended up in the --build-base. This seems to contradict the explicit purpose of --test-result-base, "the base path for all test results".

From the example above, if you run colcon test-result --all --result-files-only so that --test-result-base defaults to be the same as --build-base, the paths to the CTest Test.xml results are printed as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions