guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

16/16: gnu: libseccomp: Skip test that fails in QEMU user-mode emulation


From: guix-commits
Subject: 16/16: gnu: libseccomp: Skip test that fails in QEMU user-mode emulation.
Date: Fri, 24 Jul 2020 15:11:06 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 7a9a27a051a04a7fee2e7fe40127fedbe9112cfd
Author: Marius Bakke <marius@gnu.org>
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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]