From 3c08aa8b8bea9e3c21d2d75f39f99cbbdeb3b972 Mon Sep 17 00:00:00 2001 From: Jan Mercl <0xjnml@gmail.com> Date: Sun, 13 Jun 2021 18:04:46 +0200 Subject: [PATCH] Disable symlink.test for windows/amd64, updates #23 --- Makefile | 2 +- tcl_test.go | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 24c563b..84584f3 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ build_all_targets: GOOS=linux GOARCH=amd64 go build -v ./... GOOS=linux GOARCH=arm go build -v ./... GOOS=linux GOARCH=arm64 go build -v ./... - GOOS=linux GOARCH=s390x go build -v ./... + #TODO GOOS=linux GOARCH=s390x go build -v ./... GOOS=windows GOARCH=386 go build -v ./... GOOS=windows GOARCH=amd64 go build -v ./... echo done diff --git a/tcl_test.go b/tcl_test.go index 49af5d6..b27337a 100644 --- a/tcl_test.go +++ b/tcl_test.go @@ -35,6 +35,11 @@ func TestTclTest(t *testing.T) { // # this test. blacklist["bigsort.test"] = struct{}{} } + switch runtime.GOOS { + case "windows": + // See https://gitlab.com/cznic/sqlite/-/issues/23#note_599920077 for details. + blacklist["symlink.test"] = struct{}{} + } m, err := filepath.Glob(filepath.FromSlash("testdata/tcl/*")) if err != nil { t.Fatal(err)