Changeset - r28603:fe56503c73f5
[Not reviewed]
master
0 1 0
Loïc Guilloux - 3 months ago 2024-01-28 18:35:29
glx22@users.noreply.github.com
Codechange: ignore duplicate script messages in regression output (#11905)
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
cmake/scripts/Regression.cmake
Show inline comments
 
@@ -68,6 +68,11 @@ string(REPLACE "\n[P] " "\n" REGRESSION_
 
string(REPLACE "\n[S] " "\n" REGRESSION_RESULT "${REGRESSION_RESULT}")
 
string(REGEX REPLACE "dbg: ([^\n]*)\n?" "" REGRESSION_RESULT "${REGRESSION_RESULT}")
 

	
 
# Remove duplicate script info
 
string(REGEX REPLACE "ERROR: Registering([^\n]*)\n?" "" REGRESSION_RESULT "${REGRESSION_RESULT}")
 
string(REGEX REPLACE "ERROR:   [12]([^\n]*)\n?" "" REGRESSION_RESULT "${REGRESSION_RESULT}")
 
string(REGEX REPLACE "ERROR: The first([^\n]*)\n?" "" REGRESSION_RESULT "${REGRESSION_RESULT}")
 

	
 
# Read the expected result
 
file(READ ai/${REGRESSION_TEST}/result.txt REGRESSION_EXPECTED)
 

	
0 comments (0 inline, 0 general)