From 7a9a27a051a04a7fee2e7fe40127fedbe9112cfd Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 24 Jul 2020 17:24:27 +0200 Subject: 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 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))) -- cgit 1.4.1