summaryrefslogtreecommitdiff
path: root/.expeditor/scripts/bk_win_unit.ps1
diff options
context:
space:
mode:
Diffstat (limited to '.expeditor/scripts/bk_win_unit.ps1')
-rw-r--r--.expeditor/scripts/bk_win_unit.ps19
1 files changed, 9 insertions, 0 deletions
diff --git a/.expeditor/scripts/bk_win_unit.ps1 b/.expeditor/scripts/bk_win_unit.ps1
new file mode 100644
index 0000000000..f1f28ade05
--- /dev/null
+++ b/.expeditor/scripts/bk_win_unit.ps1
@@ -0,0 +1,9 @@
+$CurrentDirectory = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
+$PrepScript = Join-Path $CurrentDirectory "bk_win_prep.ps1"
+Invoke-Expression $PrepScript
+
+echo "+++ bundle exec rake"
+bundle exec rake spec:unit
+if (-not $?) { throw "Chef unit tests failing." }
+bundle exec rake component_specs
+if (-not $?) { throw "Chef component specs failing." }