File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -294,9 +294,9 @@ ADD_SUBDIRECTORY(src/cldai)
294294ADD_SUBDIRECTORY (src/clutils )
295295ADD_SUBDIRECTORY (include )
296296ADD_SUBDIRECTORY (data )
297- IF (ENABLE_TESTING )
297+ IF (SCL_ENABLE_TESTING )
298298 ADD_SUBDIRECTORY ( test )
299- ENDIF (ENABLE_TESTING )
299+ ENDIF (SCL_ENABLE_TESTING )
300300ADD_SUBDIRECTORY (doc )
301301
302302# this is for testing - 'make core' builds everything that isn't generated
Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ set( CTEST_MEMORYCHECK_COMMAND /usr/bin/valgrind )
88set ( CTEST_INITIAL_CACHE "
99SITE:STRING=${CTEST_SITE}
1010BUILDNAME:STRING=${CTEST_BUILD_NAME}
11- ENABLE_TESTING :BOOL=ON
12- CMAKE_BUILD_TYPE :STRING=Debug
11+ SCL_ENABLE_TESTING :BOOL=ON
12+ SCL_BUILD_TYPE :STRING=Debug
1313" )
1414
1515
1616ctest_start (matrix )
1717ctest_empty_binary_directory (${CTEST_BINARY_DIRECTORY} )
18- ctest_configure ( BUILD "${CTEST_BINARY_DIRECTORY} " OPTIONS -DENABLE_TESTING =ON )
18+ ctest_configure ( BUILD "${CTEST_BINARY_DIRECTORY} " OPTIONS -DSCL_ENABLE_TESTING =ON )
1919ctest_build ( BUILD "${CTEST_BINARY_DIRECTORY} " )
2020message ("running tests" )
2121ctest_test ( BUILD "${CTEST_BINARY_DIRECTORY} " INCLUDE_LABEL "cpp_schema_....*" )
Original file line number Diff line number Diff line change 22#this sets a property so that the target doesn't get built by 'make' or 'make all'
33#useful when testing generation of schema code/compiling schem libs/etc
44FUNCTION ( TESTABLE_TARGET target )
5- if (ENABLE_TESTING )
5+ if (SCL_ENABLE_TESTING )
66 set_target_properties ( ${target} PROPERTIES EXCLUDE_FROM_ALL ON )
77 endif ()
88ENDFUNCTION ( TESTABLE_TARGET )
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ set( CTEST_MEMORYCHECK_COMMAND /usr/bin/valgrind )
88set ( CTEST_INITIAL_CACHE "
99SITE:STRING=${CTEST_SITE}
1010BUILDNAME:STRING=${CTEST_BUILD_NAME}
11- ENABLE_TESTING :BOOL=ON
12- CMAKE_BUILD_TYPE :STRING=Debug
11+ SCL_ENABLE_TESTING :BOOL=ON
12+ SCL_BUILD_TYPE :STRING=Debug
1313" )
1414
1515
@@ -94,7 +94,7 @@ set(CTEST_BUILD_FLAGS "-j${PROCESSOR_COUNT}")
9494ctest_start (Experimental )
9595ctest_empty_binary_directory (${CTEST_BINARY_DIRECTORY} )
9696
97- ctest_configure ( BUILD "${CTEST_BINARY_DIRECTORY} " APPEND OPTIONS -DENABLE_TESTING =ON )
97+ ctest_configure ( BUILD "${CTEST_BINARY_DIRECTORY} " APPEND OPTIONS -DSCL_ENABLE_TESTING =ON )
9898SUBMIT_TEST ( Configure )
9999ctest_build ( BUILD "${CTEST_BINARY_DIRECTORY} " APPEND )
100100SUBMIT_TEST ( Build )
You can’t perform that action at this time.
0 commit comments