mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
COIN: Install dummy sound device on openSuSE Leap 15.5
Add missing dummy sound device, to prevent sound based tests from failing / flaking. Fixes: QTBUG-120655 Pick-to: 6.5 Change-Id: I555d1391b49892226732f36c6a67be7d8dae3d4b Reviewed-by: Elias Toivola <elias.toivola@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> (cherry picked from commit198cd69244) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit769e914ddc)
This commit is contained in:
committed by
Qt Cherry-pick Bot
parent
b7c53e2f70
commit
2af309adf5
17
coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/91-install-dummy-sound.sh
Executable file
17
coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/91-install-dummy-sound.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2023 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
set -ex
|
||||
|
||||
# load dummy sound module
|
||||
sudo modprobe snd-dummy
|
||||
|
||||
# Check result
|
||||
if lsmod | grep -q snd_dummy
|
||||
then
|
||||
echo "(**) Dummy sound driver loaded.";
|
||||
else
|
||||
echo "(EE) Failed to load dummy sound driver.";
|
||||
exit 1;
|
||||
fi
|
||||
Reference in New Issue
Block a user