[Cmake-commits] [cmake-commits] zach.mullen committed cmAddTestCommand.h 1.20 1.21 cmSetTestsPropertiesCommand.h 1.14 1.15

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Dec 10 15:37:06 EST 2009


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv30805

Modified Files:
	cmAddTestCommand.h cmSetTestsPropertiesCommand.h 
Log Message:
Unfortunately, I noticed the comment on bug 8668 too late.  This changes my last implementation of the exe wrapper to something which makes much more sense: a REQUIRED_FILES property on tests.


Index: cmSetTestsPropertiesCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmSetTestsPropertiesCommand.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -C 2 -d -r1.14 -r1.15
*** cmSetTestsPropertiesCommand.h	25 Nov 2009 16:25:04 -0000	1.14
--- cmSetTestsPropertiesCommand.h	10 Dec 2009 20:37:04 -0000	1.15
***************
*** 74,78 ****
        "RUN_SERIAL: If set to true, this test will not run in parallel with "
        "any other tests. This should be used in conjunction with "
!       "the ctest_test PARALLEL_LEVEL option.\n";
      }
  
--- 74,80 ----
        "RUN_SERIAL: If set to true, this test will not run in parallel with "
        "any other tests. This should be used in conjunction with "
!       "the ctest_test PARALLEL_LEVEL option.\n"
!       "REQUIRED_FILE: Set this to a file that must exist in order for the "
!       "test to be run.\n";
      }
  

Index: cmAddTestCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmAddTestCommand.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -C 2 -d -r1.20 -r1.21
*** cmAddTestCommand.h	10 Dec 2009 19:38:32 -0000	1.20
--- cmAddTestCommand.h	10 Dec 2009 20:37:04 -0000	1.21
***************
*** 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 "
--- 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 "
***************
*** 68,74 ****
        "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"
--- 67,70 ----



More information about the Cmake-commits mailing list