From 41519fceaa18d82475f0d64b0e93d992b470bf75 Mon Sep 17 00:00:00 2001
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Date: Sat, 1 Apr 2023 22:42:48 -0400
Subject: [PATCH] gnu: qtbase: Disable the "tst_qobjectrace" test.

* gnu/packages/qt.scm (qtbase) [arguments]: Skip the "tst_qobjectrace" in the
check phase.
---
 gnu/packages/qt.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 80155d39e4..8cda634cef 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -772,6 +772,9 @@ developers using C++ or QML, a CSS & JavaScript like language.")
                       ;; Actual   (dt5.offsetFromUtc()): 0
                       ;; Expected (46800)              : 46800
                       "tst_qdatetime"
+                      ;; The tst_QObjectRace::destroyRace is flaky (see:
+                      ;; https://bugreports.qt.io/browse/QTBUG-103489).
+                      "tst_qobjectrace"
                       ;; The 'tst_QSettings::fromFile' assumes the data
                       ;; location to be relative to the root directory and
                       ;; fails.