docs: align reference gate with comparison verdict
This commit is contained in:
@@ -68,7 +68,7 @@ ctest --test-dir .harness/build -C Debug -R B33ReferenceComparison -V --output-o
|
||||
$metricsPath = '.harness/build/reference/cantilever-beam-b33/comparison.json'
|
||||
if (-not (Test-Path $metricsPath)) { throw 'Missing comparison metrics' }
|
||||
$metrics = Get-Content -Raw $metricsPath | ConvertFrom-Json
|
||||
if ($metrics.status -ne 'pass') { throw "Reference comparison failed: $($metrics.status)" }
|
||||
if ($metrics.passed -ne $true) { throw "Reference comparison failed: passed=$($metrics.passed)" }
|
||||
git diff --exit-code -- reference/
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user