Tweak parsing of output (#1058)

This commit is contained in:
Michael Kaye
2023-06-09 11:22:10 +01:00
committed by GitHub
parent 3a2e0b623f
commit 7d14cfe2c5

View File

@@ -13,7 +13,7 @@ NOW=`date -u -Iminutes`
# Find all the measurement lines in the file, then strip out the gumph into a CSV-like format.
grep ".*measured.*values" $1 | sed -e "s/.*Test Case .*-\[//" -e "s/\]' measured \[/,/" -e "s/\].*values: \[/,/" -e "s/\], performance.*//" -e "s/^/$2,/" \
-e "s/IntegrationTests.ApplicationTests testLaunchPerformance,Duration (AppLaunch), s/launchPerformance/" \
-e "s/IntegrationTests.LoginTests testLoginFlow/loginPerformance/" \
-e "s/IntegrationTests.LoginTests testLoginFlow,Clock Monotonic Time, s/loginPerformance/" \
-e "s/^/$NOW,/"
# The output should contain fields for the identifier, name, type, unit, then a list of recorded values (normally 5)