diff options
Diffstat (limited to 'hack')
| -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 4dd19cbf9..7553eb474 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 } |
