Skip to content

Commit

Permalink
Use DBG=1 for conformance verification
Browse files Browse the repository at this point in the history
  • Loading branch information
thockin authored and bmwiedemann committed Jan 10, 2024
1 parent 441edd5 commit 7840458
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/conformance/gen-specsummaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ KUBE_ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")"/../.. && pwd -P)
cd "${KUBE_ROOT}"

# build ginkgo and e2e.test
hack/make-rules/build.sh github.com/onsi/ginkgo/v2/ginkgo test/e2e/e2e.test
#
# Set DBG=1 to build with embedded filenames as filenames rather than
# module-relative names (e.g. /src/kube/foo/bar.go vs.
# k8s.io/kubernetes/foo/bar.go). These names are used by gingko in
# `--spec-dump` which is consumed later in conformance verification.
DBG=1 hack/make-rules/build.sh github.com/onsi/ginkgo/v2/ginkgo test/e2e/e2e.test

# dump spec
./_output/bin/ginkgo --dry-run=true --focus='[Conformance]' ./_output/bin/e2e.test -- --spec-dump "${KUBE_ROOT}/_output/specsummaries.json" > /dev/null

0 comments on commit 7840458

Please sign in to comment.