summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2021-03-11 12:50:37 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2021-03-11 12:50:37 -0800
commit2ff6a67d52cf89277803353d1935f06275a813b9 (patch)
treee483702f407ed1ec61a1a7aa7804234ee62338ad
parent209af02472eab2b7a844eac349efef871d0d4590 (diff)
downloadchef-lcg/run-all-tests.tar.gz
better run all testslcg/run-all-tests
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--omnibus/omnibus-test.ps19
-rw-r--r--omnibus/omnibus-test.sh2
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