From 2ff6a67d52cf89277803353d1935f06275a813b9 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Thu, 11 Mar 2021 12:50:37 -0800 Subject: better run all tests Signed-off-by: Lamont Granquist --- omnibus/omnibus-test.ps1 | 9 ++++++--- omnibus/omnibus-test.sh | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/omnibus/omnibus-test.ps1 b/omnibus/omnibus-test.ps1 index aa23a6442a..d754abc48a 100644 --- a/omnibus/omnibus-test.ps1 +++ b/omnibus/omnibus-test.ps1 @@ -114,13 +114,16 @@ $env:Path = $p # desktop heap exhaustion seems likely (https://docs.microsoft.com/en-us/archive/blogs/ntdebugging/desktop-heap-overview) $exit = 0 -bundle exec rspec -f progress --profile -- ./spec/unit +bundle exec rake spec:unit If ($lastexitcode -ne 0) { $exit = 1 } -bundle exec rspec -f progress --profile -- ./spec/functional +bundle exec rake spec:functional If ($lastexitcode -ne 0) { $exit = 1 } -bundle exec rspec -f progress --profile -- ./spec/integration +bundle exec rake spec:integration +If ($lastexitcode -ne 0) { $exit = 1 } + +bundle exec rake component_specs If ($lastexitcode -ne 0) { $exit = 1 } Exit $exit diff --git a/omnibus/omnibus-test.sh b/omnibus/omnibus-test.sh index af6068a410..1357c5bcdd 100644 --- a/omnibus/omnibus-test.sh +++ b/omnibus/omnibus-test.sh @@ -151,4 +151,4 @@ export CHEF_LICENSE=accept-no-persist cd "$chef_gem" sudo -E bundle install --jobs=3 --retry=3 -sudo -E bundle exec rake --profile -f progress +sudo -E bundle exec rspec -- cgit v1.2.1