[Cmake-commits] [cmake-commits] david.cole committed test.cmake.in 1.2 1.3

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Oct 15 12:35:57 EDT 2009


Update of /cvsroot/CMake/CMake/Tests/CTestTestFailedSubmits
In directory public:/mounts/ram/cvs-serv5792/Tests/CTestTestFailedSubmits

Modified Files:
	test.cmake.in 
Log Message:
Increase ctest coverage. Introduce optionally on intentional compile errors and warnings to the SmallAndFast project. Turn them on for the FailedSubmit tests to cover analyzing LABELS-related errors and warnings.


Index: test.cmake.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CTestTestFailedSubmits/test.cmake.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** test.cmake.in	15 Oct 2009 16:07:14 -0000	1.2
--- test.cmake.in	15 Oct 2009 16:35:54 -0000	1.3
***************
*** 12,15 ****
--- 12,18 ----
  SET(CTEST_USE_LAUNCHERS 1)
  
+ # Emit these compiler warnings:
+ set(ENV{CXXFLAGS} "$ENV{CXXFLAGS} -Wall")
+ 
  SET(CTEST_SITE                          "@SITE@")
  SET(CTEST_BUILD_NAME                    "CTestTestLaunchers- at drop_method@")
***************
*** 33,37 ****
  
  CTEST_CONFIGURE(BUILD "${CTEST_BINARY_DIRECTORY}"
!   OPTIONS "-DCTEST_USE_LAUNCHERS:BOOL=${CTEST_USE_LAUNCHERS}"
    RETURN_VALUE res)
  CTEST_BUILD(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
--- 36,40 ----
  
  CTEST_CONFIGURE(BUILD "${CTEST_BINARY_DIRECTORY}"
!   OPTIONS "-DCTEST_USE_LAUNCHERS:BOOL=${CTEST_USE_LAUNCHERS};-DSAF_INTENTIONAL_COMPILE_ERROR:BOOL=ON;-DSAF_INTENTIONAL_COMPILE_WARNING:BOOL=ON"
    RETURN_VALUE res)
  CTEST_BUILD(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)



More information about the Cmake-commits mailing list