diff options
| author | KubeEdge Bot <48982446+kubeedge-bot@users.noreply.github.com> | 2023-11-21 15:57:35 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-21 15:57:35 +0800 |
| commit | ca37bde89e45b4fca2d6c6bf12424f78f9c32f36 (patch) | |
| tree | 4d0fdc8a0786d057d2f60299ac72b38a95264333 /hack/lib/golang.sh | |
| parent | Merge pull request #5165 from Shelley-BaoYue/conformance-image (diff) | |
| parent | add go test for NegotiateTunnelPort function (diff) | |
| download | kubeedge-ca37bde89e45b4fca2d6c6bf12424f78f9c32f36.tar.gz | |
Merge pull request #5176 from ZhengXinwei-F/bugfix-1118-1
add go test for NegotiateTunnelPort function
Diffstat (limited to 'hack/lib/golang.sh')
| -rwxr-xr-x | hack/lib/golang.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh index a60a4cf38..990901d67 100755 --- a/hack/lib/golang.sh +++ b/hack/lib/golang.sh @@ -459,8 +459,8 @@ kubeedge::golang::run_test() { local profile=${PROFILE:-""} if [[ $profile ]]; then - go test "-coverprofile=${profile}" ${testdirs[@]} + go test -gcflags "all=-N -l" "-coverprofile=${profile}" ${testdirs[@]} else - go test ${testdirs[@]} + go test -gcflags "all=-N -l" ${testdirs[@]} fi } |
