Changeset 341:2bf23d10bc6f in freeDiameter
- Timestamp:
- Jun 29, 2010, 11:37:44 AM (13 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r339 r341 17 17 SET(FD_PROJECT_VERSION_API 1) 18 18 19 # Some subfolders may have tests 20 ENABLE_TESTING() 21 # And actually we are now using CTest advanced features such as CDash, so we need this: 19 # The test framework, using CTest and CDash. 22 20 INCLUDE(CTest) 23 21 -
INSTALL
r325 r341 18 18 # make 19 19 20 You can enable the unit tests by doing:21 # cmake -D SKIP_TESTS:BOOL=OFF ../20 You can disable the unit tests by doing: 21 # cmake -DBUILD_TESTING:BOOL=OFF ../ 22 22 # make 23 23 # make tests -
contrib/debian/rules
r328 r341 17 17 export DH_OPTIONS 18 18 19 # Uncomment this to runthe tests when the package is built20 # compile_the_tests=-DSKIP_TESTS:BOOL=OFF19 # Comment this out if you want to include the tests when the package is built 20 skip_the_tests=-DBUILD_TESTING:BOOL=OFF 21 21 22 22 %: … … 24 24 25 25 override_dh_auto_configure: 26 dh_auto_configure -- $( compile_the_tests) \26 dh_auto_configure -- $(skip_the_tests) \ 27 27 -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ 28 28 -DDEFAULT_CONF_PATH:PATH=/etc/freeDiameter \ -
freeDiameter/CMakeLists.txt
r320 r341 76 76 77 77 # The unary tests directory 78 OPTION(SKIP_TESTS "Skip compilation of the tests?" ON) 79 IF ( NOT SKIP_TESTS ) 78 IF ( BUILD_TESTING ) 80 79 SUBDIRS(tests) 81 ENDIF ( NOT SKIP_TESTS)80 ENDIF ( BUILD_TESTING ) 82 81 83 82 ####
Note: See TracChangeset
for help on using the changeset viewer.