[cmake-developers] CTest CTEST_TESTFLAGS env var?

Stephen Kelly steveire at gmail.com
Thu May 16 16:56:19 EDT 2013


Hi,

I run Qt unit tests like this:

 qmake && make check

The make check target runs cmake and ctest. However, this does not take 
advantage of the ability of CTest to run tests in parallel. Rather than 
trying to shoehorn in a -j argument via the qmake files, I'd prefer to set a 
CTEST_TESTFLAGS variable in my shell and be done with it for all projects.

Is such a thing acceptable? How would it be implemented?

Thanks,

Steve.





More information about the cmake-developers mailing list