Skip to content

Commit

Permalink
* Merge CDash/CTest configuration fixes from stable intro trunk (part 2)
Browse files Browse the repository at this point in the history
git-svn-id: http://opensource.mlba-team.de/svn/xdispatch/trunk@371 9e4c620c-c391-4b63-a7fb-4924991ea895
  • Loading branch information
marius committed Mar 26, 2012
1 parent eeeccd9 commit e37a98f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ INCLUDE (CheckSymbolExists)
project(xdispatch)
include(package/version.cmake)

# ctest config
option(BUILD_XDISPATCH_TESTS "Enable to build the xdispatch test suite" OFF)
include(CTest)
enable_testing()

# check if mz_tools is available
if(NOT HAS_MZ_GLOBAL)

Expand Down Expand Up @@ -131,7 +136,6 @@ if(NOT HAVE_NATIVE_DISPATCH_H)
endif()

# custom test framework for xdispatch
option(BUILD_XDISPATCH_TESTS "Enable to build the xdispatch test suite" OFF)
if( BUILD_XDISPATCH_TESTS)
mz_add_executable(tests tests)
endif()
Expand Down
File renamed without changes.
4 changes: 0 additions & 4 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# tests for xdispatch
mz_add_library(munit munit)

# xdispatch tests are opt-in
include(CTest)
enable_testing()

# define file groups
file(GLOB TESTSRCS *.c *.h cxx_*.cpp dispatch_*.cpp cross_blocks.cpp)
file(GLOB SHIMS shims/*.c shims/*.h)
Expand Down

0 comments on commit e37a98f

Please sign in to comment.