mbakke pushed a commit to branch master
in repository guix.
commit 7a9a27a051a04a7fee2e7fe40127fedbe9112cfd
Author: Marius Bakke <[email protected]>
AuthorDate: Fri Jul 24 17:24:27 2020 +0200
gnu: libseccomp: Skip test that fails in QEMU user-mode emulation.
* gnu/packages/linux.scm (libseccomp)[arguments]: Add phase to skip one
test.
---
gnu/packages/linux.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 6fe2144..6f98277 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5711,7 +5711,14 @@ of flash storage.")
"1wql62cg8f95cwpy057cl764nni9g4sdn5lqj68x22kjs8w71yhz"))))
(build-system gnu-build-system)
(arguments
- '(#:configure-flags '("--disable-static")))
+ '(#:configure-flags '("--disable-static")
+ #:phases (modify-phases %standard-phases
+ (add-before 'check 'skip-load-test
+ (lambda _
+ ;; This test does a native system call and fails when
+ ;; run under QEMU user-mode emulation. Just skip it.
+ (delete-file "tests/52-basic-load.tests")
+ #t)))))
(native-inputs
`(("gperf" ,gperf)
("which" ,which)))