summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobb Kidd <robb@thekidds.org>2019-11-04 15:57:24 -0500
committerRobb Kidd <robb@thekidds.org>2019-11-05 14:54:24 -0500
commit3e08360011f43b8d97fec69bcfa20fbcdc61383a (patch)
treedb929d1019d6d95c8f4379a919320e705a68d13f /scripts
parent3b9a17306796a71c67561d49784e459e192fcf24 (diff)
downloadchef-3e08360011f43b8d97fec69bcfa20fbcdc61383a.tar.gz
add more error checks to hab package tests
The PowerShell scripts calling PowerShell scripts was apparently swallowing the errors being thrown from inner layers. Check the error level of those scripts and throw another error if need be. Signed-off-by: Robb Kidd <robb@thekidds.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ci/verify-plan.ps11
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/ci/verify-plan.ps1 b/scripts/ci/verify-plan.ps1
index 880e5a3262..d65f592e9f 100644
--- a/scripts/ci/verify-plan.ps1
+++ b/scripts/ci/verify-plan.ps1
@@ -42,3 +42,4 @@ if (-not $?) { throw "unable to install this build"}
Write-Host "--- :mag_right: Testing $Plan"
powershell -File "./habitat/tests/test.ps1" -PackageIdentifier $pkg_ident
+if (-not $?) { throw "package didn't pass the test suite" }