]> git.ipfire.org Git - location/fedora/libloc.git/commitdiff
Print test log in case of a test failure
authorPetr Písař <ppisar@redhat.com>
Wed, 12 Mar 2025 10:04:21 +0000 (11:04 +0100)
committerPetr Písař <ppisar@redhat.com>
Wed, 12 Mar 2025 10:04:21 +0000 (11:04 +0100)
libloc.spec

index 055c0514a8823c66b0172c0822c282a628465c19..9196b5ad7fa2ae6322af0e93ffe58142f6968a8e 100644 (file)
@@ -261,7 +261,7 @@ chmod 0644 %{buildroot}/%{python3_sitelib}/%{name}-%{version}.dist-info/METADATA
 
 %check
 unset LOC_LOG
-make check %{?_smp_mflags}
+make check %{?_smp_mflags} || (cat ./test-suite.log; exit 1)
 
 %post tools
 %systemd_post location-update.service