[CMake] cTest: run a single test in a multi-test directory?

Leek, Jim leek2 at llnl.gov
Thu Jul 4 09:25:27 EDT 2013


I'm using ctest combined with cmake, to maintain my test suite.  It works pretty well.

If I want to run all the tests in a directory, I can run 'make test.'  However, I haven't figured out how to run a single test that is in a directory with multiple tests.  For example, I have a PDFTest directory that has 7 test, pdf1, pdf2, etc.  If I run 'make test' it runs all 7.  How could I just run, say, pdf5?

Thanks,
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130704/627a14c4/attachment.htm>


More information about the CMake mailing list