Skip to content

Commit 540d99b

Browse files
BenTheEldersoltysh
andauthored
correct guidance for building e2e.test with debug symbols (#8397)
* correct guidance for building e2e.test with debug symbols * typo fix suggested by soltysh Co-authored-by: Maciej Szulik <[email protected]> --------- Co-authored-by: Maciej Szulik <[email protected]>
1 parent 6c8f728 commit 540d99b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contributors/devel/sig-testing/e2e-tests.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,9 @@ For this example we'll debug a [sig-storage test that will provision storage fro
282282
First, compile the E2E test suite with additional compiler flags
283283

284284
```sh
285-
# -N Disable optimizations.
286-
# -l Disable inlining.
287-
make WHAT=test/e2e/e2e.test GOGCFLAGS="all=-N -l" GOLDFLAGS=""
285+
# DBG=1 enables necessary debug options and disables stripping binaries
286+
# see the makefile upstream, or use KUBE_VERBOSE=3 to get the actual build commands
287+
make WHAT=test/e2e/e2e.test DBG=1
288288
```
289289

290290
Then set the env var `E2E_TEST_DEBUG_TOOL=delve` and then run the test with `./hack/ginkgo.sh` instead of `kubetest`, you should see the delve command line prompt

0 commit comments

Comments
 (0)