You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]>
Copy file name to clipboardExpand all lines: contributors/devel/sig-testing/e2e-tests.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -282,9 +282,9 @@ For this example we'll debug a [sig-storage test that will provision storage fro
282
282
First, compile the E2E test suite with additional compiler flags
283
283
284
284
```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
288
288
```
289
289
290
290
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