Commit 48753b58 authored by Jan Tojnar's avatar Jan Tojnar
Browse files

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.
parent 80ef897a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -98,6 +98,13 @@ stdenv.mkDerivation rec {
    patchShebangs \
      po/check-translations.sh \
      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; {