Commit 9efe4352 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Change path's log in folder, remove sertit in remote module

parent bdb9d02a
...@@ -61,7 +61,7 @@ fast-build: ...@@ -61,7 +61,7 @@ fast-build:
when: on_failure when: on_failure
expire_in: 24 hrs expire_in: 24 hrs
paths: paths:
- /*log.txt - log/*.txt
debian-build: debian-build:
......
...@@ -127,7 +127,7 @@ set (CONFIGURE_OPTIONS "") ...@@ -127,7 +127,7 @@ set (CONFIGURE_OPTIONS "")
include ( "${CMAKE_CURRENT_LIST_DIR}/configure_options.cmake" ) include ( "${CMAKE_CURRENT_LIST_DIR}/configure_options.cmake" )
# For superbuild we need remote module # For superbuild we need remote module
foreach(remote_module SertitObject Mosaic otbGRM DiapOTBModule OTBTemporalGapFilling) foreach(remote_module Mosaic otbGRM DiapOTBModule OTBTemporalGapFilling) #SertitObject
set ( CONFIGURE_OPTIONS set ( CONFIGURE_OPTIONS
"${CONFIGURE_OPTIONS}-DModule_${remote_module}:BOOL=ON;") "${CONFIGURE_OPTIONS}-DModule_${remote_module}:BOOL=ON;")
endforeach() endforeach()
...@@ -163,9 +163,9 @@ ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}" ...@@ -163,9 +163,9 @@ ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}"
) )
# Configure log # Configure log
file ( WRITE file ( WRITE
"${OTB_SOURCE_DIR}/configure_return_value_log.txt" "${_configure_rv}") "${OTB_SOURCE_DIR}/log/configure_return_value_log.txt" "${_configure_rv}")
file ( WRITE file ( WRITE
"${OTB_SOURCE_DIR}/configure_cmake_error_log.txt" "${_configure_error}") "${OTB_SOURCE_DIR}/log/configure_cmake_error_log.txt" "${_configure_error}")
if ( NOT _configure_rv EQUAL 0 ) if ( NOT _configure_rv EQUAL 0 )
ctest_submit() ctest_submit()
...@@ -179,9 +179,9 @@ ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}" ...@@ -179,9 +179,9 @@ ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}"
# Build log # Build log
file ( WRITE file ( WRITE
"${OTB_SOURCE_DIR}/build_return_value_log.txt" "${_build_rv}") "${OTB_SOURCE_DIR}/log/build_return_value_log.txt" "${_build_rv}")
file ( WRITE file ( WRITE
"${OTB_SOURCE_DIR}/build_cmake_error_log.txt" "${_build_error}") "${OTB_SOURCE_DIR}/log/build_cmake_error_log.txt" "${_build_error}")
# SEND_ERROR if build error # SEND_ERROR if build error
# FATAL_ERROR if build error? # FATAL_ERROR if build error?
...@@ -197,9 +197,9 @@ ctest_test(PARALLEL_LEVEL 8 ...@@ -197,9 +197,9 @@ ctest_test(PARALLEL_LEVEL 8
# Test log # Test log
file ( WRITE file ( WRITE
"${OTB_SOURCE_DIR}/test_return_value_log.txt" "${_test_rv}") "${OTB_SOURCE_DIR}/log/test_return_value_log.txt" "${_test_rv}")
file ( WRITE file ( WRITE
"${OTB_SOURCE_DIR}/test_cmake_error_log.txt" "${_test_error}") "${OTB_SOURCE_DIR}/log/test_cmake_error_log.txt" "${_test_error}")
if ( NOT _test_rv EQUAL 0 ) if ( NOT _test_rv EQUAL 0 )
message( WARNING "Some tests have failed.") message( WARNING "Some tests have failed.")
...@@ -226,9 +226,9 @@ endif() ...@@ -226,9 +226,9 @@ endif()
# Install log # Install log
file ( WRITE file ( WRITE
"${OTB_SOURCE_DIR}/install_out_log.txt" "${install_out}") "${OTB_SOURCE_DIR}/log/install_out_log.txt" "${install_out}")
file ( WRITE file ( WRITE
"${OTB_SOURCE_DIR}/install_error_log.txt" "${install_err}") "${OTB_SOURCE_DIR}/log/install_error_log.txt" "${install_err}")
if ( NOT install_rv EQUAL 0 ) if ( NOT install_rv EQUAL 0 )
message( SEND_ERROR "Install have failed.") message( SEND_ERROR "Install have failed.")
......
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