fprintd: Stop tests from crashing with GLib 2.76
GLib 2.76 started raising critical warnings for unhandled GTasks. Since tests are failing on criticals to detect issues, they started to fail. https://gitlab.freedesktop.org/libfprint/fprintd/-/issues/151 Let’s disable fatal-criticals until the issue is resolved.
This commit is contained in:
parent
80ef897a5d
commit
48753b589a
|
@ -98,6 +98,13 @@ stdenv.mkDerivation rec {
|
||||||
patchShebangs \
|
patchShebangs \
|
||||||
po/check-translations.sh \
|
po/check-translations.sh \
|
||||||
tests/unittest_inspector.py
|
tests/unittest_inspector.py
|
||||||
|
|
||||||
|
# Stop tests from failing due to unhandled GTasks uncovered by GLib 2.76 bump.
|
||||||
|
# https://gitlab.freedesktop.org/libfprint/fprintd/-/issues/151
|
||||||
|
substituteInPlace tests/fprintd.py \
|
||||||
|
--replace "env['G_DEBUG'] = 'fatal-criticals'" ""
|
||||||
|
substituteInPlace tests/meson.build \
|
||||||
|
--replace "'G_DEBUG=fatal-criticals'," ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue