From 4042130045893eebbd73a8c36cd122228434d73d Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 10 Nov 2019 00:12:05 +0100 Subject: [PATCH 1/3] use locales en_US always --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 34685dea93c35..59ec31e153d2a 100644 --- a/Makefile +++ b/Makefile @@ -166,11 +166,11 @@ fmt-check: .PHONY: test test: - GO111MODULE=on $(GO) test -mod=vendor -tags='sqlite sqlite_unlock_notify' $(PACKAGES) + LANG="en_US.utf8" LC_ALL="en_US" GO111MODULE=on $(GO) test -mod=vendor -tags='sqlite sqlite_unlock_notify' $(PACKAGES) .PHONY: test\#% test\#%: - GO111MODULE=on $(GO) test -mod=vendor -tags='sqlite sqlite_unlock_notify' -run $* $(PACKAGES) + LANG="en_US.utf8" LC_ALL="en_US" GO111MODULE=on $(GO) test -mod=vendor -tags='sqlite sqlite_unlock_notify' -run $* $(PACKAGES) .PHONY: coverage coverage: From c1d818991f09c9b4ad9a2d55b40812d5070c31fd Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 10 Nov 2019 00:26:53 +0100 Subject: [PATCH 2/3] more specific --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 59ec31e153d2a..8e91ef9ff295b 100644 --- a/Makefile +++ b/Makefile @@ -166,11 +166,11 @@ fmt-check: .PHONY: test test: - LANG="en_US.utf8" LC_ALL="en_US" GO111MODULE=on $(GO) test -mod=vendor -tags='sqlite sqlite_unlock_notify' $(PACKAGES) + LC_ALL=C GO111MODULE=on $(GO) test -mod=vendor -tags='sqlite sqlite_unlock_notify' $(PACKAGES) .PHONY: test\#% test\#%: - LANG="en_US.utf8" LC_ALL="en_US" GO111MODULE=on $(GO) test -mod=vendor -tags='sqlite sqlite_unlock_notify' -run $* $(PACKAGES) + LC_ALL=C GO111MODULE=on $(GO) test -mod=vendor -tags='sqlite sqlite_unlock_notify' -run $* $(PACKAGES) .PHONY: coverage coverage: From d2e35deeae6cda5b86199974f8e3b88b96f7e661 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 10 Nov 2019 20:09:05 +0100 Subject: [PATCH 3/3] try to make CI fail --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8e91ef9ff295b..deb2a9d929ca3 100644 --- a/Makefile +++ b/Makefile @@ -166,11 +166,11 @@ fmt-check: .PHONY: test test: - LC_ALL=C GO111MODULE=on $(GO) test -mod=vendor -tags='sqlite sqlite_unlock_notify' $(PACKAGES) + LC_ALL=de_DE.UTF-8 GO111MODULE=on $(GO) test -mod=vendor -tags='sqlite sqlite_unlock_notify' $(PACKAGES) .PHONY: test\#% test\#%: - LC_ALL=C GO111MODULE=on $(GO) test -mod=vendor -tags='sqlite sqlite_unlock_notify' -run $* $(PACKAGES) + LC_ALL=de_DE.UTF-8 GO111MODULE=on $(GO) test -mod=vendor -tags='sqlite sqlite_unlock_notify' -run $* $(PACKAGES) .PHONY: coverage coverage: