From 086be07bf52a97b193d70d012e7568e7d72b2575 Mon Sep 17 00:00:00 2001 From: Frank Wessels Date: Fri, 1 May 2020 08:06:29 -0700 Subject: [PATCH] Fix ndjson unsupported (#9500) --- pkg/s3select/simdj/{reader_test.go => reader_amd64_test.go} | 4 ++++ 1 file changed, 4 insertions(+) rename pkg/s3select/simdj/{reader_test.go => reader_amd64_test.go} (98%) diff --git a/pkg/s3select/simdj/reader_test.go b/pkg/s3select/simdj/reader_amd64_test.go similarity index 98% rename from pkg/s3select/simdj/reader_test.go rename to pkg/s3select/simdj/reader_amd64_test.go index 216400300..cb443221a 100644 --- a/pkg/s3select/simdj/reader_test.go +++ b/pkg/s3select/simdj/reader_amd64_test.go @@ -61,6 +61,10 @@ var testCases = []struct { } func TestNDJSON(t *testing.T) { + if !simdjson.SupportedCPU() { + t.Skip("Unsupported cpu") + } + for _, tt := range testCases { t.Run(tt.name, func(t *testing.T) {