Skip to content

Commit

Permalink
Reorganized test file directory structure (redhat-developer#5537)
Browse files Browse the repository at this point in the history
* Rebased was required

* Replicated changes to  openshiftci related scripts to avoid test failure
  • Loading branch information
rnapoles-rh authored Mar 16, 2022
1 parent 070b877 commit 83f26da
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .ibm/pipelines/kubernetes-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
2 changes: 1 addition & 1 deletion .ibm/pipelines/openshift-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion scripts/openshiftci-periodic-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 4 additions & 1 deletion scripts/openshiftci-presubmit-all-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 83f26da

Please sign in to comment.