diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-03-06 11:46:29 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-03-18 14:07:30 +0100 |
| commit | 20571fe2b9b5a8f5a895b761ecbecb4ec7c03124 (patch) | |
| tree | aa961a9ea78425815ae23399d93a7f5c01e25095 | |
| parent | 4314135e65cad7ac01bfa2f152503160f320377b (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
| -rw-r--r-- | gnu/packages/linux.scm | 8 |
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.") | |||
| 5792 | (add-before 'check 'disable-failing-test | 5792 | (add-before 'check 'disable-failing-test |
| 5793 | (lambda _ | 5793 | (lambda _ |
| 5794 | ;; This test relies on writing to /proc/%d/oom_score_adj. | 5794 | ;; This test relies on writing to /proc/%d/oom_score_adj. |
| 5795 | (substitute* "testsuite_cli_test.go" | 5795 | (substitute* "Makefile" |
| 5796 | (("TestI" match) | 5796 | (("go test -v" match) |
| 5797 | (string-append "skipped" match)))))) | 5797 | (string-append match " -vet=off -skip 'TestI'")))))) |
| 5798 | #:make-flags | 5798 | #:make-flags |
| 5799 | #~(list (string-append "CC=" #$(cc-for-target)) | 5799 | #~(list (string-append "CC=" #$(cc-for-target)) |
| 5800 | (string-append "VERSION=v" #$version) | 5800 | (string-append "VERSION=v" #$version) |
| @@ -5811,7 +5811,7 @@ from the module-init-tools project.") | |||
| 5811 | (list | 5811 | (list |
| 5812 | ;; For the test suite. | 5812 | ;; For the test suite. |
| 5813 | cppcheck | 5813 | cppcheck |
| 5814 | go-1.23))) | 5814 | go))) |
| 5815 | (home-page "https://github.com/rfjakob/earlyoom") | 5815 | (home-page "https://github.com/rfjakob/earlyoom") |
| 5816 | (synopsis "Simple out of memory (OOM) daemon for the Linux kernel") | 5816 | (synopsis "Simple out of memory (OOM) daemon for the Linux kernel") |
| 5817 | (description "Early OOM is a minimalist out of memory (OOM) daemon that | 5817 | (description "Early OOM is a minimalist out of memory (OOM) daemon that |
