Disable %check

Fedora's build environment runs inside a systemd-nspawn(1) container and
runs into this test failure:
  ...
  ...
  Adding library /lib/libcap.so.2
  Adding library /lib/libpcre2-8.so.0
  Adding library /lib/libselinux.so.1
  Adding library /lib/libtinfo.so.6
  error: /tmp/tmp.ppnOBuhUOv/export/share/icons/hicolor/64x64/apps/org.test.Hello.png
      is not a valid icon: bwrap: Can't mount proc on /newroot/proc:
      Operation not permitted
  OK closing connection
  (test program exited with status code 1)

... which, otherwise, passes when run interactively on a Fedora
Workstation 39 system.

It is the 'flatpak build-export ...' call in tests/make-test-runtime.sh,
which calls 'flatpak-validate-icon --sandbox' to validate the icons in a
bwrap(1) sandbox.  This used to work in the recent past, even with the
build running inside a systemd-nspawn(1) container, but not anymore,
likely because of other changes in the build environment.

Therefore, there's no point in blocking flatpak-builder builds until the
tests are fixed.

https://src.fedoraproject.org/rpms/flatpak-builder/pull-request/4
This commit is contained in:
Debarshi Ray 2023-11-14 09:50:14 +01:00
parent d5208e5b93
commit 9896afad21

View File

@ -84,8 +84,8 @@ This package contains the installable tests for %{name}.
install -pm 644 NEWS README.md %{buildroot}/%{_pkgdocdir} install -pm 644 NEWS README.md %{buildroot}/%{_pkgdocdir}
%check # %%check
%meson_test # %%meson_test
%files %files
@ -104,6 +104,7 @@ install -pm 644 NEWS README.md %{buildroot}/%{_pkgdocdir}
* Mon Nov 13 2023 Debarshi Ray <rishi@fedoraproject.org> - 1.3.4-1 * Mon Nov 13 2023 Debarshi Ray <rishi@fedoraproject.org> - 1.3.4-1
- Update to 1.3.4 (#2212349) - Update to 1.3.4 (#2212349)
- Enable installed tests - Enable installed tests
- Disable %%check
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-2 * Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild