mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 12:39:11 +00:00
Fix: [CMake] Don't strip final newline from regression output.
The expected regression output files all end with a newline. As such, we have to make sure we capture the output from OpenTTD with the last newline intact.
This commit is contained in:
committed by
Charles Pigott
parent
c0bf7cc840
commit
7d66540af5
@@ -38,7 +38,6 @@ execute_process(COMMAND ${OPENTTD_EXECUTABLE}
|
|||||||
OUTPUT_VARIABLE REGRESSION_OUTPUT
|
OUTPUT_VARIABLE REGRESSION_OUTPUT
|
||||||
ERROR_VARIABLE REGRESSION_RESULT
|
ERROR_VARIABLE REGRESSION_RESULT
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
ERROR_STRIP_TRAILING_WHITESPACE
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if (REGRESSION_OUTPUT)
|
if (REGRESSION_OUTPUT)
|
||||||
|
Reference in New Issue
Block a user