1 . .\_install\spirv2dxil_check.ps1 2>&1 | Set-Content -Path .\spirv2dxil_results.txt 2 $reference = Get-Content .\_install\spirv2dxil_reference.txt 3 $result = Get-Content .\spirv2dxil_results.txt 4 if (-Not ($reference -And $result)) { 5 Exit 1 6 } 7 8 $diff = Compare-Object -ReferenceObject $reference -DifferenceObject $result 9 if (-Not $diff) { 10 Exit 0 11 } 12 13 Write-Host "Unexpected change in results:" 14 Write-Output $diff | Format-Table -Property SideIndicator, InputObject -Wrap 15 16 Exit 1 17