From 9c2b2a010558057428d1ab1c28a2e8e59e2546aa Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sun, 17 Sep 2023 13:35:16 -0400 Subject: [PATCH] gnu: qtwayland-5: Disable tst_surface test on aarch64-linux. * gnu/packages/qt.scm (qtwayland-5) [arguments] [target-aarch64?]: Disable the tst_surface test. --- gnu/packages/qt.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 87de296013..12785c811f 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -1789,7 +1789,14 @@ (define-public qtwayland-5 "m_waitingFrameCallbacks\\.empty\\(\\)\\);")) "") (("QTRY_COMPARE\\(bufferSpy\\.count\\(\\), 1\\);") - "")))) + "")) + #$@(if (target-aarch64?) + ;; The tst_surface::createSubsurface test fails on + ;; aarch64 (see: + ;; https://bugreports.qt.io/browse/QTBUG-117112). + #~((substitute* "tests/auto/client/client.pro" + ((".*surface.*") ""))) + #~()))) (add-before 'check 'set-test-environment (lambda _ ;; Do not fail just because /etc/machine-id is missing.