gnu: qtbase: Disable problematic tests on powerpc64le.

* gnu/packages/qt.scm (qtbase) [arguments] [powerpc64le]: Disable the
tst_qpainter, tst_qprocess and tst_qsqlthread tests in the check phase.

Series-changes: 3
- New commit
This commit is contained in:
Maxim Cournoyer 2023-09-16 23:18:37 -04:00
parent 6b8e35ce23
commit 2334a24a04
No known key found for this signature in database
GPG Key ID: 1260E46482E63562

View File

@ -792,85 +792,107 @@ developers using C++ or QML, a CSS & JavaScript like language.")
(string-append (string-append
"(" "("
(string-join (string-join
(list (append
;; The 'tst_moc' test fails with "'fi.exists()' returned FALSE". (list
"tst_moc" ;; The 'tst_moc' test fails with "'fi.exists()' returned FALSE".
"tst_moc"
;; The qgraphicsview and qopenglwidget tests fail with a ;; The qgraphicsview and qopenglwidget tests fail with a
;; segfault for unknown reasons (see: ;; segfault for unknown reasons (see:
;; https://bugreports.qt.io/browse/QTBUG-116018). ;; https://bugreports.qt.io/browse/QTBUG-116018).
"tst_qgraphicsview" "tst_qgraphicsview"
"tst_qopenglwidget" "tst_qopenglwidget"
;; The 'test_rcc' test fails on a comparison: ;; The 'test_rcc' test fails on a comparison:
;; <<<<<< actual ;; <<<<<< actual
;; 0x0,0x0,0x0,0x0,0x0,0x0,0x3,0xe8, ;; 0x0,0x0,0x0,0x0,0x0,0x0,0x3,0xe8,
;; ====== ;; ======
;; 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, ;; 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
;; >>>>>> expected ;; >>>>>> expected
"tst_rcc" "tst_rcc"
;; The 'tst_qtemporarydir' and 'tst_qtemporaryfile' ;; The 'tst_qtemporarydir' and 'tst_qtemporaryfile'
;; tests depend on '/home' not being writable. ;; tests depend on '/home' not being writable.
"tst_qtemporarydir" "tst_qtemporarydir"
"tst_qtemporaryfile" "tst_qtemporaryfile"
;; The 'tst_qdir' compares two directories which are ;; The 'tst_qdir' compares two directories which are
;; unexpectedly different when inside the build ;; unexpectedly different when inside the build
;; container. ;; container.
"tst_qdir" "tst_qdir"
;; This checks the last modified time of '/', and fails ;; This checks the last modified time of '/', and fails
;; because Epoch 0 is considered to be invalid. ;; because Epoch 0 is considered to be invalid.
"tst_qresourceengine" "tst_qresourceengine"
;; The 'tst_qfilesystemwatcher' installs a watcher on ;; The 'tst_qfilesystemwatcher' installs a watcher on
;; '/home', which doesn't exist in the build container. ;; '/home', which doesn't exist in the build container.
"tst_qfilesystemwatcher" "tst_qfilesystemwatcher"
;; Not all of the tested formats are supported by our ;; Not all of the tested formats are supported by our
;; build of openssl; 871 passed, 122 failed. ;; build of openssl; 871 passed, 122 failed.
"tst_qsslkey" "tst_qsslkey"
;; The 'mockplugins' test fail following error: "Unknown ;; The 'mockplugins' test fail following error: "Unknown
;; platform linux-g++", and the other plugin tests ;; platform linux-g++", and the other plugin tests
;; depend on it. ;; depend on it.
"mockplugins" "mockplugins"
"test_plugin_flavor.*" "test_plugin_flavor.*"
;; The 'test_import_plugins' fails with "Could NOT find ;; The 'test_import_plugins' fails with "Could NOT find
;; Qt6MockPlugins1". ;; Qt6MockPlugins1".
"test_import_plugins" "test_import_plugins"
;; The tst_QObjectRace::destroyRace is flaky (see: ;; The tst_QObjectRace::destroyRace is flaky (see:
;; https://bugreports.qt.io/browse/QTBUG-103489). ;; https://bugreports.qt.io/browse/QTBUG-103489).
"tst_qobjectrace" "tst_qobjectrace"
;; The 'tst_QSettings::fromFile' assumes the data ;; The 'tst_QSettings::fromFile' assumes the data
;; location to be relative to the root directory and ;; location to be relative to the root directory and
;; fails. ;; fails.
"tst_qsettings" "tst_qsettings"
;; The 'tst_qaddpreroutine', ;; The 'tst_qaddpreroutine',
;; 'test_generating_cpp_exports' and ;; 'test_generating_cpp_exports' and
;; 'test_static_resources' tests fail with: "Unknown ;; 'test_static_resources' tests fail with: "Unknown
;; platform linux-g++. ;; platform linux-g++.
"tst_qaddpreroutine" "tst_qaddpreroutine"
"test_generating_cpp_exports" "test_generating_cpp_exports"
"test_static_resources" "test_static_resources"
;; The 'tst_qfile' fails since there is no /home in the ;; The 'tst_qfile' fails since there is no /home in the
;; build container. ;; build container.
"tst_qfile" "tst_qfile"
;; The 'tst_QGlyphRun::mixedScripts' test fails with: ;; The 'tst_QGlyphRun::mixedScripts' test fails with:
;; Actual (glyphRuns.size()): 1 ;; Actual (glyphRuns.size()): 1
;; Expected (2) : 2 ;; Expected (2) : 2
"tst_qglyphrun" "tst_qglyphrun"
;; The 'tst_qx11info' test fails with "Internal error: ;; The 'tst_qx11info' test fails with "Internal error:
;; QPA plugin doesn't implement generatePeekerId", ;; QPA plugin doesn't implement generatePeekerId",
;; likely requires a real display. ;; likely requires a real display.
"tst_qx11info" "tst_qx11info"
;; The 'tst_qgraphicswidget' test fails because "This
;; plugin does not support propagateSizeHints". ;; The 'tst_qgraphicswidget' test fails because "This
"tst_qgraphicswidget" ;; plugin does not support propagateSizeHints".
;; The 'tst_qdnslookup' test requires networking. "tst_qgraphicswidget"
"tst_qdnslookup" ;; The 'tst_qdnslookup' test requires networking.
;; The 'tst_qcompleter' and 'tst_QFiledialog::completer' "tst_qdnslookup"
;; attempt to complete paths they assume exist, such as ;; The 'tst_qcompleter' and 'tst_QFiledialog::completer'
;; "/home", "/etc" or "/root" and fail. ;; attempt to complete paths they assume exist, such as
"tst_qcompleter" ;; "/home", "/etc" or "/root" and fail.
"tst_qfiledialog" "tst_qcompleter"
;; This test is susceptible to the 600 ms timeout used: "tst_qfiledialog"
"tst_qpauseanimation") "|") ")"))))) ;; This test is susceptible to the 600 ms timeout used:
"tst_qpauseanimation")
#$@(if (target-ppc64le?)
#~((list
;; The 'tst_QPainter::fpe_radialGradients'
;; test fails with a 'Floating point
;; exception' error on powerpc64le (see:
;; https://bugreports.qt.io/browse/QTBUG-117113).
"tst_qpainter"
;; The 'startStopStartStopBuffers' test fails
;; on the powerpc64le architecture (see:
;; https://bugreports.qt.io/browse/QTBUG-80953).
"tst_qprocess"
;; The 'tst_QSqlThread::readWriteThreading'
;; test may fail with an sqlite related error,
;; "'Unable to fetch row' || 'database is
;; locked'" (see:
;; https://bugreports.qt.io/browse/QTBUG-117114).
"tst_qsqlthread"))
#~())) "|") ")")))))
(replace 'patch-mkspecs (replace 'patch-mkspecs
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((archdata (search-input-directory outputs "lib/qt6")) (let* ((archdata (search-input-directory outputs "lib/qt6"))