Skip to content

Commit

Permalink
remove check go-junit-report
Browse files Browse the repository at this point in the history
  • Loading branch information
Meer Sawood committed May 16, 2024
1 parent c4c1e1f commit c566e6c
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions make/test.mk
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,6 @@ execute-tests:
-oc get Space -n ${HOST_NS}
@echo "Status of ToolchainStatus"
-oc get ToolchainStatus -n ${HOST_NS} -o yaml
@echo "Check Reporting"
$(MAKE) check-go-junit-report
@echo "Starting test $(shell date)"
MEMBER_NS=${MEMBER_NS} MEMBER_NS_2=${MEMBER_NS_2} HOST_NS=${HOST_NS} REGISTRATION_SERVICE_NS=${REGISTRATION_SERVICE_NS} go test ${TESTS_TO_EXECUTE} -run ${TESTS_RUN_FILTER_REGEXP} -p 1 -parallel ${E2E_PARALLELISM} -v -timeout=90m -failfast 2>&1 | $(MAKE) generate-report REPORT_NAME=${REPORT_NAME} || \
($(MAKE) print-logs HOST_NS=${HOST_NS} MEMBER_NS=${MEMBER_NS} MEMBER_NS_2=${MEMBER_NS_2} REGISTRATION_SERVICE_NS=${REGISTRATION_SERVICE_NS} && exit 1)
Expand All @@ -179,12 +177,12 @@ else
$(MAKE) print-local-debug-info HOST_NS=${HOST_NS} MEMBER_NS=${MEMBER_NS} MEMBER_NS_2=${MEMBER_NS_2} REGISTRATION_SERVICE_NS=${REGISTRATION_SERVICE_NS}
endif

.PHONY: check-go-junit-report
#.PHONY: check-go-junit-report

check-go-junit-report:
PATH=${PATH}:$(go env GOPATH)/bin go-junit-report > ${ARTIFACT_DIR}/${REPORT_PORTAL_DIR}/${REPORT_NAME}
@command -v go-junit-report >/dev/null 2>&1 || { echo "go-junit-report is not installed. Installing..."; go install github.com/jstemmer/go-junit-report/v2@latest; }
@echo "go-junit-report version:" && go-junit-report -version
# check-go-junit-report:
# PATH=${PATH}:$(go env GOPATH)/bin go-junit-report > ${ARTIFACT_DIR}/${REPORT_PORTAL_DIR}/${REPORT_NAME}
# @command -v go-junit-report >/dev/null 2>&1 || { echo "go-junit-report is not installed. Installing..."; go install github.com/jstemmer/go-junit-report/v2@latest; }
# @echo "go-junit-report version:" && go-junit-report -version

.PHONY: generate-report
generate-report:
Expand Down

0 comments on commit c566e6c

Please sign in to comment.