Changeset - r28726:6317e7b1a356
[Not reviewed]
master
0 3 0
Loïc Guilloux - 10 months ago 2024-02-10 13:16:24
glx22@users.noreply.github.com
Codechange: Rework regression output filtering (#12049)
3 files changed with 6 insertions and 5 deletions:
0 comments (0 inline, 0 general)
cmake/scripts/Regression.cmake
Show inline comments
 
@@ -63,11 +63,10 @@ string(REGEX REPLACE "\\\[[0-9-]+ [0-9:]
 
string(REGEX REPLACE "\\\[script:[0-9]\\\]" "" REGRESSION_RESULT "${REGRESSION_RESULT}")
 

	
 
# Convert the output to a format that is expected (and more readable) by result.txt
 
string(REPLACE "\ndbg: " "\n" REGRESSION_RESULT "${REGRESSION_RESULT}")
 
string(REPLACE "\n " "\nERROR: " REGRESSION_RESULT "${REGRESSION_RESULT}")
 
string(REPLACE "\nERROR: [1] " "\n" REGRESSION_RESULT "${REGRESSION_RESULT}")
 
string(REPLACE "\n[P] " "\n" REGRESSION_RESULT "${REGRESSION_RESULT}")
 
string(REPLACE "\n[S] " "\n" REGRESSION_RESULT "${REGRESSION_RESULT}")
 
string(REPLACE "dbg:  " "ERROR: " REGRESSION_RESULT "${REGRESSION_RESULT}")
 
string(REPLACE "ERROR: [1] " "" REGRESSION_RESULT "${REGRESSION_RESULT}")
 
string(REPLACE "[P] " "" REGRESSION_RESULT "${REGRESSION_RESULT}")
 
string(REPLACE "[S] " "" REGRESSION_RESULT "${REGRESSION_RESULT}")
 
string(REGEX REPLACE "dbg: ([^\n]*)\n?" "" REGRESSION_RESULT "${REGRESSION_RESULT}")
 

	
 
# Remove duplicate script info
regression/regression/result.txt
Show inline comments
 

	
 
--TestInit--
 
 Ops:      9988
 
 TickTest: 1
regression/stationlist/result.txt
Show inline comments
 

	
 
--StationList--
 
  Count():             5
 
  Location ListDump:
0 comments (0 inline, 0 general)