Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add CGO flag to -race runs #670

Merged
merged 1 commit into from
Sep 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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