gnu: qtbase: Backport fix for flaky test.

* gnu/packages/qt.scm (qtbase)[#:phases]: Add 'patch-aarch64-tests, which
backports an upstream commit improving a flaky test.
* gnu/packages/patches/qtbase-fix-thread-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register patch.

Change-Id: Ibf9b95d7225ed42c9edad03a550d1c6e6f86be54
This commit is contained in:
Brennan Vincent 2025-07-21 14:23:43 -07:00 committed by Andreas Enge
parent 355b6125c0
commit e7a87d59b8
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3
3 changed files with 165 additions and 0 deletions

View file

@ -901,6 +901,16 @@ tst_qt_cmake_create.cpp"
"dirs.append(\""
#$(this-package-input "shared-mime-info") "/share/mime"
"\");\n" all)))))
#$@(if (target-aarch64?)
;; backport of 2bce75a6b53cccbf9c813581b64eea87f3ab55fc,
;; which makes flaky tst_qthread less flaky.
#~((add-after 'patch-more-paths 'patch-aarch64-tests
(lambda _
(invoke
"patch" "-p1" "-i"
#$(local-file
(search-patch "qtbase-fix-thread-test.patch"))))))
#~())
(delete 'do-not-capture-python) ;move after patch-source-shebangs
(add-after 'patch-source-shebangs 'do-not-capture-python
(lambda _