Providing actions for ctest

时间:2019-01-15 18:04:53

标签: c cmake ctest

I am learning ctest as a testing driver for my cmake built project. I am confused by the use of the "-T" option. I'm looking for a ELI5 description to clarify the sparse description provided in the documentation. Examples of using ctest -T start, ctest -T build, and ctest -T test would be particularly useful.

From the ctest documentation, this is the definition of the -T option:

-T , --test-action

Sets the dashboard action to perform

This option tells ctest to act as a CDash client and perform some action such as start, build, test etc. Combining -M and -T is similar to -D

0 个答案:

没有答案