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