From 7d66540af55fe9c28790cfe9d839bfbf8afb91dc Mon Sep 17 00:00:00 2001 From: Michael Lutz Date: Tue, 21 Jul 2020 23:47:29 +0200 Subject: 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. --- cmake/scripts/Regression.cmake | 1 - 1 file changed, 1 deletion(-) 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) -- cgit v1.2.3-54-g00ecf