summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2020-07-24 17:24:27 +0200
committerMarius Bakke <marius@gnu.org>2020-07-24 21:08:36 +0200
commit7a9a27a051a04a7fee2e7fe40127fedbe9112cfd (patch)
tree505752932db2476503183ac17ea27feb9d595fb4
parent819b8b2728989b7ac070282b51f02562a3cddb06 (diff)
downloadguix-7a9a27a051a04a7fee2e7fe40127fedbe9112cfd.tar.gz
gnu: libseccomp: Skip test that fails in QEMU user-mode emulation.
* gnu/packages/linux.scm (libseccomp)[arguments]: Add phase to skip one test.
-rw-r--r--gnu/packages/linux.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 6fe2144234..6f98277c89 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)))