summaryrefslogtreecommitdiff
path: root/gnu/packages/linux.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-03-06 11:46:29 +0000
committerAndreas Enge <andreas@enge.fr>2026-03-18 14:07:30 +0100
commit20571fe2b9b5a8f5a895b761ecbecb4ec7c03124 (patch)
treeaa961a9ea78425815ae23399d93a7f5c01e25095 /gnu/packages/linux.scm
parent4314135e65cad7ac01bfa2f152503160f320377b (diff)
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
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r--gnu/packages/linux.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 396e8200ad4..a51fe309995 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5792,9 +5792,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)
@@ -5811,7 +5811,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