Skip SDK codegen tests on Windows

This commit is contained in:
Anton Tayanovskyy 2021-11-22 23:19:17 -05:00
parent 257ed26a33
commit 2570b87dc3

View file

@ -5,6 +5,7 @@ import (
"fmt"
"os"
"path/filepath"
"runtime"
"sort"
"strings"
"testing"
@ -277,6 +278,11 @@ type SDKCodegenOptions struct {
// `go/tests/go_test.go` before performing compilation and unit test
// checks over the project generated in `go`.
func TestSDKCodegen(t *testing.T, opts *SDKCodegenOptions) { // revive:disable-line
if runtime.GOOS == "windows" {
t.Skip("TestSDKCodegen is skipped on Windows")
}
testDir := filepath.Join("..", "internal", "test", "testdata")
// Motivation for flagging: concerns about memory utilizaion