Commit b2e2edfc authored by aregimbe's avatar aregimbe

Remove build to fix issue on ssh connection

parent e51e4b9f
Pipeline #853 failed with stages
in 28 minutes and 23 seconds
......@@ -117,25 +117,25 @@ ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}"
CAPTURE_CMAKE_ERROR _configure_error
)
if ( NOT _configure_rv EQUAL 0 )
ctest_submit()
message( SEND_ERROR "An error occurs during ctest_configure.")
return()
endif()
ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}"
TARGET "OTB_DEPENDS"
RETURN_VALUE _build_rv
CAPTURE_CMAKE_ERROR _build_error
)
if ( NOT _build_rv EQUAL 0 )
ctest_submit()
message( SEND_ERROR "An error occurs during ctest_build.")
return()
endif()
ctest_submit()
# if ( NOT _configure_rv EQUAL 0 )
# ctest_submit()
# message( SEND_ERROR "An error occurs during ctest_configure.")
# return()
# endif()
# ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}"
# TARGET "OTB_DEPENDS"
# RETURN_VALUE _build_rv
# CAPTURE_CMAKE_ERROR _build_error
# )
# if ( NOT _build_rv EQUAL 0 )
# ctest_submit()
# message( SEND_ERROR "An error occurs during ctest_build.")
# return()
# endif()
# ctest_submit()
########################################################################
########################################################################
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment