summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2020-07-21 23:47:29 +0200
committerCharles Pigott <charlespigott@googlemail.com>2020-07-27 17:26:19 +0100
commit7d66540af55fe9c28790cfe9d839bfbf8afb91dc (patch)
treec616d84b6efa6e1a1ff4f03ccf427c61d963c242
parentc0bf7cc840744c6b980639641561610cc1435eba (diff)
downloadopenttd-7d66540af55fe9c28790cfe9d839bfbf8afb91dc.tar.xz
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.
-rw-r--r--cmake/scripts/Regression.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmake/scripts/Regression.cmake b/cmake/scripts/Regression.cmake
index 0b4e522d3..9984396ea 100644
--- a/cmake/scripts/Regression.cmake
+++ b/cmake/scripts/Regression.cmake
@@ -38,7 +38,6 @@ execute_process(COMMAND ${OPENTTD_EXECUTABLE}
OUTPUT_VARIABLE REGRESSION_OUTPUT
ERROR_VARIABLE REGRESSION_RESULT
OUTPUT_STRIP_TRAILING_WHITESPACE
- ERROR_STRIP_TRAILING_WHITESPACE
)
if (REGRESSION_OUTPUT)