From ffb70c3cc855444e2dc23255123eea7a6eb9657eca1957eaaa8034277fa0941a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Fri, 22 Sep 2023 13:53:39 +0000 Subject: [PATCH] Enable forgotten check tests OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/snapshot?expand=0&rev=8 --- snapshot.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/snapshot.spec b/snapshot.spec index 1d7768f..52afd84 100644 --- a/snapshot.spec +++ b/snapshot.spec @@ -63,13 +63,11 @@ export RUSTFLAGS="%{build_rustflags}" %meson_install %find_lang %{name} %{?no_lang_C} -# Check disabled - no tests are run during cargo_test yet + failing manual tests... -#%%check -#export RUSTFLAGS="%%{build_rustflags}" -#%%{cargo_test} -# Checks disabled as they both fail atm :-) - NO FWD to distro atm. -#desktop-file-validate %%{buildroot}%%{_datadir}/applications/org.gnome.Snapshot.desktop -#appstream-util validate-relax --nonet %%{buildroot}%%{_datadir}/metainfo/org.gnome.Snapshot.gschema.xml +%check +export RUSTFLAGS="%{build_rustflags}" +%{cargo_test} +desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Snapshot.desktop +appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.Snapshot.metainfo.xml %files %license LICENSE