Skip to content

Commit

Permalink
Enable --verbose ctest, for better report in CDash
Browse files Browse the repository at this point in the history
increase the size of ctest passed log message to 16kB from 1kB

attemp to fix test output truncation
  • Loading branch information
Risto97 committed Oct 5, 2024
1 parent 48a0c5d commit 1a7afca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ add_custom_target(check
)

add_custom_target(check_cdash
COMMAND ctest -D Nightly $(JOBS) --output-on-failure
COMMAND ctest -D Nightly $(JOBS) --verbose --test-output-size-passed 16384 --output-on-failure
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/../
)

Expand Down
1 change: 1 addition & 0 deletions tests/utils/file_pattern_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def main():

# Generate and print the report
report, return_status = generate_report(results)
console.print(Text("CTEST_FULL_OUTPUT"))
console.print(Panel(report, title="Pattern Search Results", expand=False))

# Print the final separator after the report
Expand Down

0 comments on commit 1a7afca

Please sign in to comment.