mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Remove deprecated pester.sh script
This commit is contained in:
1 parent
aa21bfc635
commit
b9d8e890c5
1 file changed
-12
@@ -1,12 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
test -x bin/powershell || { echo >&2 "No bin/powershell, please run './build.sh'"; exit 1; }
|
||||
|
||||
./bin/powershell --noprofile -c "Import-Module Microsoft.PowerShell.Platform; Invoke-Pester test/powershell/$1 -OutputFile pester-tests.xml -OutputFormat NUnitXml -EnableExit"
|
||||
failed_tests=$?
|
||||
|
||||
# XML files are not executable
|
||||
chmod -x pester-tests.xml
|
||||
|
||||
# Return number of failed tests as exit code (more than 0 will be an error)
|
||||
exit $failed_tests
|
||||
Reference in new issue
Block a user