mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 14:47:20 +01:00
gnu: libseccomp: Skip test that fails in QEMU user-mode emulation.
* gnu/packages/linux.scm (libseccomp)[arguments]: Add phase to skip one test.
This commit is contained in:
parent
819b8b2728
commit
7a9a27a051
1 changed files with 8 additions and 1 deletions
|
@ -5711,7 +5711,14 @@ (define-public libseccomp
|
||||||
"1wql62cg8f95cwpy057cl764nni9g4sdn5lqj68x22kjs8w71yhz"))))
|
"1wql62cg8f95cwpy057cl764nni9g4sdn5lqj68x22kjs8w71yhz"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(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
|
(native-inputs
|
||||||
`(("gperf" ,gperf)
|
`(("gperf" ,gperf)
|
||||||
("which" ,which)))
|
("which" ,which)))
|
||||||
|
|
Loading…
Reference in a new issue