diff --git a/.ibm/pipelines/kubernetes-tests.sh b/.ibm/pipelines/kubernetes-tests.sh index 7f5209cde..9944ccd8e 100755 --- a/.ibm/pipelines/kubernetes-tests.sh +++ b/.ibm/pipelines/kubernetes-tests.sh @@ -14,7 +14,7 @@ cleanup_namespaces set -e make install make test-integration-devfile - make test-integration-interactive + make test-interactive make test-e2e-devfile make test-cmd-project ) |& tee "/tmp/${LOGFILE}" diff --git a/.ibm/pipelines/openshift-tests.sh b/.ibm/pipelines/openshift-tests.sh index aa4b0efb5..aface5b50 100755 --- a/.ibm/pipelines/openshift-tests.sh +++ b/.ibm/pipelines/openshift-tests.sh @@ -15,7 +15,7 @@ cleanup_namespaces set -e make install make test-integration - make test-integration-interactive + make test-interactive make test-integration-devfile make test-cmd-login-logout make test-cmd-project diff --git a/Makefile b/Makefile index 694c4dd82..c434fba8c 100644 --- a/Makefile +++ b/Makefile @@ -266,9 +266,9 @@ test-cmd-debug: install ## Run odo debug command tests test-integration: install ## Run command's integration tests irrespective of service catalog status in the cluster. $(RUN_GINKGO) $(GINKGO_FLAGS) tests/integration/ -.PHONY: test-interactive test -test-integration-interactive: install ## Run integration interactive tests - $(RUN_GINKGO) $(GINKGO_FLAGS) tests/integration/interactive/ +.PHONY: test-interactive +test-interactive: install ## Run integration interactive tests + $(RUN_GINKGO) $(GINKGO_FLAGS) tests/interactive/ .PHONY: test-integration-devfile test-integration-devfile: install ## Run devfile integration tests diff --git a/scripts/openshiftci-periodic-tests.sh b/scripts/openshiftci-periodic-tests.sh index 1ffbed1a9..d4be0bd2e 100755 --- a/scripts/openshiftci-periodic-tests.sh +++ b/scripts/openshiftci-periodic-tests.sh @@ -29,10 +29,12 @@ oc whoami # Integration tests make test-integration || error=true make test-integration-devfile || error=true -make test-integration-interactive || error=true make test-cmd-login-logout || error=true make test-cmd-project || error=true +# Interactive tests +make test-interactive || error=true + # E2e tests make test-e2e-all || error=true diff --git a/scripts/openshiftci-presubmit-all-tests.sh b/scripts/openshiftci-presubmit-all-tests.sh index f3e3856d5..4bc0969f1 100755 --- a/scripts/openshiftci-presubmit-all-tests.sh +++ b/scripts/openshiftci-presubmit-all-tests.sh @@ -52,11 +52,14 @@ elif [ "${ARCH}" == "ppc64le" ]; then else # Integration tests make test-integration || error=true - make test-integration-interactive || error=true + make test-interactive || error=true make test-integration-devfile || error=true make test-cmd-login-logout || error=true make test-cmd-project || error=true + # Interactive tests + make test-interactive || error=true + # E2e tests make test-e2e-all || error=true diff --git a/tests/integration/interactive/cmd_deploy_test.go b/tests/interactive/cmd_deploy_test.go similarity index 100% rename from tests/integration/interactive/cmd_deploy_test.go rename to tests/interactive/cmd_deploy_test.go diff --git a/tests/integration/interactive/cmd_dev_test.go b/tests/interactive/cmd_dev_test.go similarity index 100% rename from tests/integration/interactive/cmd_dev_test.go rename to tests/interactive/cmd_dev_test.go diff --git a/tests/integration/interactive/cmd_init_test.go b/tests/interactive/cmd_init_test.go similarity index 100% rename from tests/integration/interactive/cmd_init_test.go rename to tests/interactive/cmd_init_test.go diff --git a/tests/integration/interactive/interactive_suit_test.go b/tests/interactive/interactive_suit_test.go similarity index 100% rename from tests/integration/interactive/interactive_suit_test.go rename to tests/interactive/interactive_suit_test.go