Skip to content

Add —output-on-failure to CI unit test command #1440

@hsorby

Description

@hsorby

Currently we use the following command to run the tests in the CI:

cmake —build build —target test

It would be better to use the output on failure so that the CI logs show more information when a failure occurs.
The above command could be replaced with:

ctest —test-dir build —output-on-failure

(The double hyphen seems to have been consumed into long dash.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions