From a8d9741a156df80ea38febbe98176b3f2739a963 Mon Sep 17 00:00:00 2001 From: Katherine Cox-Buday Date: Tue, 30 Apr 2024 11:54:08 -0600 Subject: gnu: go-1.22: Disable flakey tests. * gnu/packages/golang.scm (go-1.22): Disable flakey tests. Signed-off-by: Sharlatan Hellseher Change-Id: Iae54b66ca9e330a8a6fafdba23869fccf875aab4 --- gnu/packages/golang.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 638f50e3f4..1e9a4efc31 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -12,7 +12,7 @@ ;;; Copyright © 2018 Tomáš Čech ;;; Copyright © 2018 Pierre-Antoine Rouby ;;; Copyright © 2018 Pierre Neidhardt -;;; Copyright © 2018, 2019, 2020, 2023 Katherine Cox-Buday +;;; Copyright © 2018, 2019, 2020, 2023, 2024 Katherine Cox-Buday ;;; Copyright © 2019 Giovanni Biscuolo ;;; Copyright © 2019, 2020 Alex Griffin ;;; Copyright © 2019, 2020, 2021 Arun Isaac @@ -972,7 +972,13 @@ in the style of communicating sequential processes (@dfn{CSP}).") ;; to perl input in sourcecode generators and test scripts (substitute* (find-files "src" "\\.pl$") (("^#!.*") - "#!/usr/bin/env perl\n")))))))) + "#!/usr/bin/env perl\n")))) + (add-after 'unpack 'remove-flakey-thread-sanitizer-tests + (lambda _ + ;; These tests have been identified as flakey: + ;; https://github.com/golang/go/issues/66427 + (substitute* "src/cmd/cgo/internal/testsanitizers/tsan_test.go" + ((".*tsan1[34].*") "")))))))) (native-inputs ;; Go 1.22 and later requires Go 1.20 (min. 1.20.6, which we don't have) ;; as the bootstrap toolchain. -- cgit v1.2.3