Permalink
Browse files

Add nosetests to CMake configuration.

  • Loading branch information...
1 parent 383ff81 commit de30cd722fa9236a29d0f8ea602e3e4c218c6bfe @thewtex committed Oct 21, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 CMakeLists.txt
View
@@ -24,6 +24,10 @@ add_custom_target( ReplicatePythonSourceTree ALL ${CMAKE_COMMAND} -P
include_directories( ${CYTHON_CMAKE_EXAMPLE_SOURCE_DIR}/include )
+enable_testing()
+find_file( NOSETESTS_EXECUTABLE nosetests )
+add_test( nosetests "${NOSETESTS_EXECUTABLE}" -v --with-xunit )
+
# Process the CMakeLists.txt in the 'src' and 'bin' directory.
add_subdirectory( src )
add_subdirectory( bin )

0 comments on commit de30cd7

Please sign in to comment.