mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Windows: Native make test-unit
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
10df5647bd
commit
7268f767e6
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue