1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request from Microsoft/10662-nativetestunit

Windows: Native make test-unit
This commit is contained in:
Vincent Demeester 2015-11-08 11:12:09 +01:00
commit e2a9eede28

View file

@ -25,7 +25,8 @@ bundle_test_unit() {
go test $COVER $GCCGOFLAGS -ldflags "$LDFLAGS" "${BUILDFLAGS[@]}" $TESTFLAGS $pkg_list
}
if [[ "$(go version)" =~ "gccgo" ]]; then
if [[ "$(go version)" == *"gccgo"* ]]; then
GCCGOFLAGS=-gccgoflags="-lpthread"
else
COVER=-cover