~ruther/guix-local

642f28f47ff9b8d4cb04b59aac3bff875ab60639 — Efraim Flashner 4 months ago 7c7bad3
gnu: libseccomp: Fix tests on powerpc-linux.

* gnu/packages/linux.scm (libseccomp)[arguments]: When building for
powerpc-linux add a phase to skip a test.

Change-Id: I670a9a2cf73073daca634cf4e8358e18d0ef91bd
1 files changed, 10 insertions(+), 0 deletions(-)

M gnu/packages/linux.scm
M gnu/packages/linux.scm => gnu/packages/linux.scm +10 -0
@@ 9104,6 9104,16 @@ of flash storage.")
     (list
      #:configure-flags #~(list "--disable-static")
      #:phases #~(modify-phases %standard-phases
                   #$@(if (target-ppc32?)
                          ;; This test is removed upstream. See upstream commit
                          ;; 7db46d72f13c172b290818f624c2966bd0db5677
                          #~((add-after 'unpack 'skip-62-sim-arch-tests
                               (lambda _
                                 (substitute*
                                   "tests/62-sim-arch_transactions.tests"
                                   (("test type: bpf-sim-fuzz") "")
                                   (("62-sim-arch_transactions 5") "")))))
                          #~())
                   (add-before 'check 'skip-load-test
                     (lambda _
                       ;; This test does a native system call and fails when