Make appveyor fail if it cannot find test results

This commit is contained in:
Sergei Vorobev
2016-02-10 13:16:22 -08:00
parent 5916b00261
commit f3f0886e75
+2
View File
@@ -25,6 +25,8 @@ build_script:
test_script:
- ps: |
# fail tests execution, if any PS error detected
$ErrorActionPreference = 'Stop'
# CoreCLR
$testResultsFile = ".\TestsResults.xml"
.\bin\powershell.exe --noprofile -c "Invoke-Pester test/powershell -OutputFormat NUnitXml -OutputFile $testResultsFile"