From 8728e42f37aa8ec2bc59c66dbf5615af1173ea95 Mon Sep 17 00:00:00 2001 From: Priti Kumari Date: Mon, 26 Jul 2021 15:33:29 +0530 Subject: [PATCH] Do not cancel the whole execution if one of the test suite fails --- scripts/openshiftci-periodic-tests.sh | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/scripts/openshiftci-periodic-tests.sh b/scripts/openshiftci-periodic-tests.sh index 72699d600e9..f8d2a58a6bc 100755 --- a/scripts/openshiftci-periodic-tests.sh +++ b/scripts/openshiftci-periodic-tests.sh @@ -27,14 +27,18 @@ oc login -u developer -p password@123 oc whoami # Integration tests -make test-integration -make test-integration-devfile -make test-cmd-login-logout -make test-cmd-project -make test-operator-hub +make test-integration || error=true +make test-integration-devfile || error=true +make test-cmd-login-logout || error=true +make test-cmd-project || error=true +make test-operator-hub || error=true # E2e tests -make test-e2e-all +make test-e2e-all || error=true + +if [ $error ]; then + exit -1 +fi cp -r reports $ARTIFACT_DIR