File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,11 @@ if [ "$OPENSHIFT_CI" == "true" ] && [ -n "$ARTIFACT_DIR" ] && [ -d "$ARTIFACT_DI
37
37
GINKGO_ARGS=" ${GINKGO_ARGS} --junit-report=junit_machine_api_operator.xml --cover --coverprofile=test-unit-coverage.out --output-dir=${ARTIFACT_DIR} "
38
38
fi
39
39
40
+ TEST_PACKAGES=${TEST_PACKAGES:- $(go list -f " {{ .Dir }}" ./ ...)}
41
+
40
42
# Print the command we are going to run as Make would.
41
- echo ${GINKGO} ${GINKGO_ARGS} ${GINKGO_EXTRA_ARGS} ./...
42
- ${GINKGO} ${GINKGO_ARGS} ${GINKGO_EXTRA_ARGS} ./...
43
+ echo ${GINKGO} ${GINKGO_ARGS} ${GINKGO_EXTRA_ARGS} " <omitted> "
44
+ ${GINKGO} ${GINKGO_ARGS} ${GINKGO_EXTRA_ARGS} ${TEST_PACKAGES}
43
45
# Capture the test result to exit on error after coverage.
44
46
TEST_RESULT=$?
45
47
You can’t perform that action at this time.
0 commit comments