diff --git a/Makefile b/Makefile index f97a50d8a..0f7e9c5d5 100644 --- a/Makefile +++ b/Makefile @@ -32,9 +32,9 @@ build/_output/stratum.so.1.0.0: modelplugin/Stratum-1.0.0/modelmain.go modelplug test: # @HELP run the unit tests and source code validation test: build deps linters license_check - go test -race github.com/onosproject/onos-config/pkg/... - go test -race github.com/onosproject/onos-config/cmd/... - go test -race github.com/onosproject/onos-config/modelplugin/... + -CGO_ENABLED=1 go test -race github.com/onosproject/onos-config/pkg/... + -CGO_ENABLED=1 go test -race github.com/onosproject/onos-config/cmd/... + -CGO_ENABLED=1 go test -race github.com/onosproject/onos-config/modelplugin/... coverage: # @HELP generate unit test coverage data coverage: build deps linters license_check