[Cmake-commits] [cmake-commits] zach.mullen committed cmAddTestCommand.h 1.19 1.20
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Dec 10 14:38:34 EST 2009
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv26208
Modified Files:
cmAddTestCommand.h
Log Message:
[0008668: CTest Dev: Missing executables shown as failed tests when using MPI.] Added a wrapping option to add_test so that exes built by the project can be safely wrapped in other exes and be listed as "not run" rather than "failed" if they are not built.
Index: cmAddTestCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmAddTestCommand.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -C 2 -d -r1.19 -r1.20
*** cmAddTestCommand.h 28 Sep 2009 15:41:56 -0000 1.19
--- cmAddTestCommand.h 10 Dec 2009 19:38:32 -0000 1.20
***************
*** 57,61 ****
{
return
! " add_test(testname Exename arg1 arg2 ...)\n"
"If the ENABLE_TESTING command has been run, this command adds a "
"test target to the current directory. If ENABLE_TESTING has not "
--- 57,62 ----
{
return
! " add_test(testname Exename arg1 arg2 ... \n"
! " [EXEC_PREFIX_CMD wrapperExe args...])\n"
"If the ENABLE_TESTING command has been run, this command adds a "
"test target to the current directory. If ENABLE_TESTING has not "
***************
*** 66,70 ****
"system (like tclsh). The test will be run with the current working "
"directory set to the CMakeList.txt files corresponding directory "
! "in the binary tree."
"\n"
" add_test(NAME <name> [CONFIGURATIONS [Debug|Release|...]]\n"
--- 67,74 ----
"system (like tclsh). The test will be run with the current working "
"directory set to the CMakeList.txt files corresponding directory "
! "in the binary tree.\n"
! "Use EXEC_PREFIX_CMD to wrap an executable built by this project "
! "in another executable such as mpiexec. This will only run the "
! "test if the wrapped executable was built."
"\n"
" add_test(NAME <name> [CONFIGURATIONS [Debug|Release|...]]\n"
More information about the Cmake-commits
mailing list