Skip to content

Commit

Permalink
[CI] Removed output on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
chleh committed Aug 6, 2024
1 parent d86cf77 commit 1a073ec
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ endif()
set(_envrc_content
"[ -d \"${PROJECT_BINARY_DIR}/.venv\" ] && source ${PROJECT_BINARY_DIR}/.venv/bin/activate"
"export PATH=$PATH:${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_BINDIR}"
"export CTEST_OUTPUT_ON_FAILURE=1"
)
if(TFEL_WITH_PYTHON)
set(_envrc_content "${_envrc_content}"
Expand Down
3 changes: 0 additions & 3 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,6 @@
{
"name": "release",
"configurePreset": "release",
"output": {
"outputOnFailure": true
},
"filter": {
"include": {
"label": "default"
Expand Down
5 changes: 1 addition & 4 deletions scripts/cmake/test/Test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ NotebookTest(
TRUE
)

# output 25 kb of tailed logs on failure
set(_ctest_parameter -T Test --force-new-ctest-process --output-on-failure
--test-output-size-failed 25
)
set(_ctest_parameter -T Test --force-new-ctest-process)
if(CMAKE_CONFIGURATION_TYPES)
list(APPEND _ctest_parameter --build-config "$<CONFIGURATION>")
endif()
Expand Down

0 comments on commit 1a073ec

Please sign in to comment.