guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit b15d6be349bb93a7c09545f435a2be12cd66743e
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Mar 6 11:46:29 2026 +0000
gnu: earlyoom: Test with default go.
* gnu/packages/linux.scm (earlyoom):
[phases]{disable-failing-test}: Adjust test invocation instead of
overwriting test-file and don't run vet during test.
[native-inputs]: Remove go-1.23; add go.
Change-Id: I32822de70ee2a71d5e687e6b813570f471ea148a
---
gnu/packages/linux.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 6c497a4f22..ac2c36491c 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5406,9 +5406,9 @@ from the module-init-tools project.")
(add-before 'check 'disable-failing-test
(lambda _
;; This test relies on writing to /proc/%d/oom_score_adj.
- (substitute* "testsuite_cli_test.go"
- (("TestI" match)
- (string-append "skipped" match))))))
+ (substitute* "Makefile"
+ (("go test -v" match)
+ (string-append match " -vet=off -skip 'TestI'"))))))
#:make-flags
#~(list (string-append "CC=" #$(cc-for-target))
(string-append "VERSION=v" #$version)
@@ -5425,7 +5425,7 @@ from the module-init-tools project.")
(list
;; For the test suite.
cppcheck
- go-1.23)))
+ go)))
(home-page "https://github.com/rfjakob/earlyoom")
(synopsis "Simple out of memory (OOM) daemon for the Linux kernel")
(description "Early OOM is a minimalist out of memory (OOM) daemon that