Merge pull request #25 from akva2/add_ert_python

Look for python module in ERT
This commit is contained in:
Arne Morten Kvarving
2015-07-15 15:37:03 +02:00
2 changed files with 27 additions and 8 deletions
+8 -8
View File
@@ -244,6 +244,14 @@ macro (cond_disable_test name)
endif ((NOT DEFINED HAVE_${name}) OR (NOT HAVE_${name}))
endmacro (cond_disable_test name)
# use this target to run all tests
add_custom_target (check
COMMAND ${CMAKE_CTEST_COMMAND}
DEPENDS test-suite
COMMENT "Checking if library is functional"
VERBATIM
)
# special processing for tests
if (COMMAND tests_hook)
tests_hook ()
@@ -255,14 +263,6 @@ if (BUILD_TESTING)
opm_compile_satellites (${project} tests "" "${tests_REGEXP}")
endif (BUILD_TESTING)
# use this target to run all tests
add_custom_target (check
COMMAND ${CMAKE_CTEST_COMMAND}
DEPENDS test-suite
COMMENT "Checking if library is functional"
VERBATIM
)
# use this target to check local git commits
add_custom_target(check-commits
COMMAND ${CMAKE_COMMAND}