From b21cbc55fdb055feae533f75fa4591e225574570 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 11 Dec 2025 21:16:55 +0530 Subject: [PATCH] Skipping testing audio outputs in qt multimedia on non CI Linux systems It hangs on some systems, sigh. --- src/calibre/test_build.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py index 237925776d..ba69a22a6b 100644 --- a/src/calibre/test_build.py +++ b/src/calibre/test_build.py @@ -380,7 +380,9 @@ class BuildTest(unittest.TestCase): available_tts_engines = tuple(x for x in QTextToSpeech.availableEngines() if x != 'mock') self.assertTrue(available_tts_engines) - QMediaDevices.audioOutputs() + if not islinux or is_ci: + # On some Linux systems this hangs when using the headless backend + QMediaDevices.audioOutputs() from calibre.ebooks.oeb.transforms.rasterize import rasterize_svg img = rasterize_svg(as_qimage=True)