aboutsummaryrefslogtreecommitdiff
path: root/misc/cgo/testshared/shared_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cgo/testshared/shared_test.go')
-rw-r--r--misc/cgo/testshared/shared_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/cgo/testshared/shared_test.go b/misc/cgo/testshared/shared_test.go
index b78083bc80..616630979c 100644
--- a/misc/cgo/testshared/shared_test.go
+++ b/misc/cgo/testshared/shared_test.go
@@ -57,7 +57,7 @@ func runWithEnv(t *testing.T, msg string, env []string, args ...string) {
func goCmd(t *testing.T, args ...string) string {
newargs := []string{args[0]}
if *testX && args[0] != "env" {
- newargs = append(newargs, "-x")
+ newargs = append(newargs, "-x", "-ldflags=-v")
}
newargs = append(newargs, args[1:]...)
c := exec.Command("go", newargs...)