cmake_test/set_print_length
- cmake_test/set_print_length.ct_set_print_length(length)
Note
This is a macro, and so does not introduce a new scope.
Wrapper macro to set CT_PRINT_LENGTH variable in current scope. This length can be overriden by setting PRINT_LENGTH in ct_add_test() or ct_add_section()
- Priority for print length is as follows (first most important):
Current execution unit’s PRINT_LENGTH option
Parent’s PRINT_LENGTH option
Length set by ct_set_print_length()
Built-in default of 80.
- Parameters:
length (int) – Length for pass/fail print lines.