[Cmake-commits] [cmake-commits] king committed cmCTestBuildCommand.h 1.8 1.9 cmCTestConfigureCommand.h 1.8 1.9 cmCTestCoverageCommand.h 1.6 1.7 cmCTestHandlerCommand.h 1.6 1.7 cmCTestMemCheckCommand.h 1.6 1.7 cmCTestTestCommand.h 1.10 1.11

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Feb 20 15:51:05 EST 2009


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

Modified Files:
	cmCTestBuildCommand.h cmCTestConfigureCommand.h 
	cmCTestCoverageCommand.h cmCTestHandlerCommand.h 
	cmCTestMemCheckCommand.h cmCTestTestCommand.h 
Log Message:
ENH: Document APPEND option in ctest_* commands

This adds documentation of the APPEND option to the configure, build,
test, memcheck, and coverage commands.  The docs leave specific
semantics for the dashboard server to define.


Index: cmCTestConfigureCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestConfigureCommand.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C 2 -d -r1.8 -r1.9
*** cmCTestConfigureCommand.h	20 Feb 2009 20:50:57 -0000	1.8
--- cmCTestConfigureCommand.h	20 Feb 2009 20:51:03 -0000	1.9
***************
*** 60,64 ****
      {
      return
!       "  ctest_configure([BUILD build_dir] [SOURCE source_dir]\n"
        "                  [OPTIONS options] [RETURN_VALUE res])\n"
        "Configures the given build directory and stores results in "
--- 60,64 ----
      {
      return
!       "  ctest_configure([BUILD build_dir] [SOURCE source_dir] [APPEND]\n"
        "                  [OPTIONS options] [RETURN_VALUE res])\n"
        "Configures the given build directory and stores results in "
***************
*** 70,74 ****
        "The RETURN_VALUE option specifies a variable in which to store the "
        "return value of the native build tool."
!       ;
      }
  
--- 70,75 ----
        "The RETURN_VALUE option specifies a variable in which to store the "
        "return value of the native build tool."
!       "\n"
!       CTEST_COMMAND_APPEND_OPTION_DOCS;
      }
  

Index: cmCTestCoverageCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestCoverageCommand.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C 2 -d -r1.6 -r1.7
*** cmCTestCoverageCommand.h	20 Feb 2009 20:50:57 -0000	1.6
--- cmCTestCoverageCommand.h	20 Feb 2009 20:51:03 -0000	1.7
***************
*** 61,69 ****
      {
      return
!       "  ctest_coverage([BUILD build_dir] [RETURN_VALUE res])\n"
        "Perform the coverage of the given build directory and stores results "
        "in Coverage.xml. The second argument is a variable that will hold "
        "value."
!       ;
      }
  
--- 61,70 ----
      {
      return
!       "  ctest_coverage([BUILD build_dir] [RETURN_VALUE res] [APPEND])\n"
        "Perform the coverage of the given build directory and stores results "
        "in Coverage.xml. The second argument is a variable that will hold "
        "value."
!       "\n"
!       CTEST_COMMAND_APPEND_OPTION_DOCS;
      }
  

Index: cmCTestBuildCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestBuildCommand.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C 2 -d -r1.8 -r1.9
*** cmCTestBuildCommand.h	20 Feb 2009 20:50:57 -0000	1.8
--- cmCTestBuildCommand.h	20 Feb 2009 20:51:02 -0000	1.9
***************
*** 66,70 ****
      {
      return
!       "  ctest_build([BUILD build_dir] [RETURN_VALUE res]\n"
        "              [NUMBER_ERRORS val] [NUMBER_WARNINGS val])\n"
        "Builds the given build directory and stores results in Build.xml. "
--- 66,70 ----
      {
      return
!       "  ctest_build([BUILD build_dir] [RETURN_VALUE res] [APPEND]\n"
        "              [NUMBER_ERRORS val] [NUMBER_WARNINGS val])\n"
        "Builds the given build directory and stores results in Build.xml. "
***************
*** 74,78 ****
        "The NUMBER_ERRORS and NUMBER_WARNINGS options specify variables in "
        "which to store the number of build errors and warnings detected."
!       ;
      }
  
--- 74,79 ----
        "The NUMBER_ERRORS and NUMBER_WARNINGS options specify variables in "
        "which to store the number of build errors and warnings detected."
!       "\n"
!       CTEST_COMMAND_APPEND_OPTION_DOCS;
      }
  

Index: cmCTestTestCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestTestCommand.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -C 2 -d -r1.10 -r1.11
*** cmCTestTestCommand.h	20 Feb 2009 20:50:57 -0000	1.10
--- cmCTestTestCommand.h	20 Feb 2009 20:51:03 -0000	1.11
***************
*** 61,65 ****
      {
      return
!       "  ctest_test([BUILD build_dir]\n"
        "             [START start number] [END end number]\n"
        "             [STRIDE stride number] [EXCLUDE exclude regex ]\n"
--- 61,65 ----
      {
      return
!       "  ctest_test([BUILD build_dir] [APPEND]\n"
        "             [START start number] [END end number]\n"
        "             [STRIDE stride number] [EXCLUDE exclude regex ]\n"
***************
*** 75,79 ****
        "expression for test to be included or excluded by the test "
        "property LABEL."
!       ;
      }
  
--- 75,80 ----
        "expression for test to be included or excluded by the test "
        "property LABEL."
!       "\n"
!       CTEST_COMMAND_APPEND_OPTION_DOCS;
      }
  

Index: cmCTestMemCheckCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestMemCheckCommand.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C 2 -d -r1.6 -r1.7
*** cmCTestMemCheckCommand.h	20 Feb 2009 20:50:57 -0000	1.6
--- cmCTestMemCheckCommand.h	20 Feb 2009 20:51:03 -0000	1.7
***************
*** 63,71 ****
      {
      return
!       "  ctest_memcheck([BUILD build_dir] [RETURN_VALUE res])\n"
        "Performs a memory checking of tests in the given build directory and "
        "stores results in MemCheck.xml. The second argument is a variable "
        "that will hold value."
!       ;
      }
  
--- 63,72 ----
      {
      return
!       "  ctest_memcheck([BUILD build_dir] [RETURN_VALUE res] [APPEND])\n"
        "Performs a memory checking of tests in the given build directory and "
        "stores results in MemCheck.xml. The second argument is a variable "
        "that will hold value."
!       "\n"
!       CTEST_COMMAND_APPEND_OPTION_DOCS;
      }
  

Index: cmCTestHandlerCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestHandlerCommand.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C 2 -d -r1.6 -r1.7
*** cmCTestHandlerCommand.h	12 Jan 2009 14:11:29 -0000	1.6
--- cmCTestHandlerCommand.h	20 Feb 2009 20:51:03 -0000	1.7
***************
*** 75,77 ****
--- 75,82 ----
  };
  
+ #define CTEST_COMMAND_APPEND_OPTION_DOCS \
+   "The APPEND option marks results for append to those previously " \
+   "submitted to a dashboard server since the last ctest_start.  " \
+   "Append semantics are defined by the dashboard server in use."
+ 
  #endif



More information about the Cmake-commits mailing list