Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Commandre Benjamin
OTB
Commits
9efe4352
Commit
9efe4352
authored
May 16, 2019
by
Antoine Regimbeau
Browse files
Change path's log in folder, remove sertit in remote module
parent
bdb9d02a
Changes
2
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9efe4352
...
...
@@ -61,7 +61,7 @@ fast-build:
when
:
on_failure
expire_in
:
24 hrs
paths
:
-
/*
log.txt
-
log
/*
.txt
debian-build
:
...
...
CI/main_superbuild.cmake
View file @
9efe4352
...
...
@@ -127,7 +127,7 @@ set (CONFIGURE_OPTIONS "")
include
(
"
${
CMAKE_CURRENT_LIST_DIR
}
/configure_options.cmake"
)
# 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
"
${
CONFIGURE_OPTIONS
}
-DModule_
${
remote_module
}
:BOOL=ON;"
)
endforeach
()
...
...
@@ -163,9 +163,9 @@ ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}"
)
# Configure log
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
"
${
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
)
ctest_submit
()
...
...
@@ -179,9 +179,9 @@ ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}"
# Build log
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
"
${
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
# FATAL_ERROR if build error?
...
...
@@ -197,9 +197,9 @@ ctest_test(PARALLEL_LEVEL 8
# Test log
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
"
${
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
)
message
(
WARNING
"Some tests have failed."
)
...
...
@@ -226,9 +226,9 @@ endif()
# Install log
file
(
WRITE
"
${
OTB_SOURCE_DIR
}
/install_out_log.txt"
"
${
install_out
}
"
)
"
${
OTB_SOURCE_DIR
}
/
log/
install_out_log.txt"
"
${
install_out
}
"
)
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
)
message
(
SEND_ERROR
"Install have failed."
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment