3e1cdb7582
The updated packages fix our Start/Stop process tests, which were failing intermittently due to the process name appearing incorrect. See dotnet/corefx#5421 for further details.
11 lines
318 B
Bash
Executable File
11 lines
318 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
./bin/powershell --noprofile -c "Invoke-Pester test/powershell/$1 -OutputFile pester-tests.xml -OutputFormat NUnitXml -EnableExit"
|
|
failed_tests=$?
|
|
|
|
# XML files are not executable
|
|
chmod -x pester-tests.xml
|
|
|
|
# Exit with failure if number of failed tests exceeds threshold
|
|
[ ! $failed_tests -gt 11 ]
|