Skip to content

Commit

Permalink
Add CGO flag to -race runs (#670)
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-milkey authored Sep 13, 2019
1 parent f041fb7 commit 46ca3f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 46ca3f7

Please # to comment.