Windows: Native make test-unit
Signed-off-by: John Howard <jhoward@microsoft.com> Upstream-commit: 7268f767e6d7d1067c896a959654cf493bc5b073 Component: engine
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user