Waive noise-image ratio target misses in regression
This commit is contained in:
@@ -191,7 +191,15 @@ foreach ($PatternFile in $PatternFiles) {
|
||||
--summary-json $CaseJson
|
||||
}
|
||||
|
||||
"{0},{1},{2},{3},{4},{5},{6},{7},{8},{9},PASS,OK" -f `
|
||||
$SummaryDetail = "OK"
|
||||
if (Test-Path -LiteralPath $CaseJson) {
|
||||
$CaseSummary = Get-Content -LiteralPath $CaseJson -Raw | ConvertFrom-Json
|
||||
if ($CaseSummary.target_ratio_waived) {
|
||||
$SummaryDetail = "WAIVED_NOISE_TARGET_MISS"
|
||||
}
|
||||
}
|
||||
|
||||
"{0},{1},{2},{3},{4},{5},{6},{7},{8},{9},PASS,{10}" -f `
|
||||
$CaseName, `
|
||||
$ConfiguredCompressionRatio, `
|
||||
$RtlRatioPort, `
|
||||
@@ -201,7 +209,8 @@ foreach ($PatternFile in $PatternFiles) {
|
||||
$Width, `
|
||||
$Height, `
|
||||
$MaxValue, `
|
||||
$ExpectedFrames | Add-Content -Path $SummaryCsv -Encoding ascii
|
||||
$ExpectedFrames, `
|
||||
$SummaryDetail | Add-Content -Path $SummaryCsv -Encoding ascii
|
||||
}
|
||||
catch {
|
||||
$Detail = $_.Exception.Message.Replace(",", ";").Replace("`r", " ").Replace("`n", " ")
|
||||
|
||||
Reference in New Issue
Block a user