Created
July 19, 2020 17:57
-
-
Save michicc/6e95de08afef461fafadbbf5b28d9671 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cmake/scripts/Regression.cmake b/cmake/scripts/Regression.cmake | |
index 0b4e522d3..926457839 100644 | |
--- a/cmake/scripts/Regression.cmake | |
+++ b/cmake/scripts/Regression.cmake | |
@@ -68,6 +68,10 @@ file(READ ai/${REGRESSION_TEST}/result.txt REGRESSION_EXPECTED) | |
string(REPLACE "\n" ";" REGRESSION_RESULT "${REGRESSION_RESULT}") | |
string(REPLACE "\n" ";" REGRESSION_EXPECTED "${REGRESSION_EXPECTED}") | |
+# Strip possible trailing newline | |
+string(REGEX REPLACE ";$" "" REGRESSION_RESULT "${REGRESSION_RESULT}") | |
+string(REGEX REPLACE ";$" "" REGRESSION_EXPECTED "${REGRESSION_EXPECTED}") | |
+ | |
set(ARGC 0) | |
set(ERROR NO) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment