Ensure that xtests can be built

This commit is contained in:
Florian Weimer 2024-09-19 10:36:00 +02:00
parent 88814acb29
commit e2bae39a8f

View File

@ -169,7 +169,7 @@ Version: %{glibcversion}
# - It allows using the Release number without the %%dist tag in the dependency
# generator to make the generated requires interchangeable between Rawhide
# and ELN (.elnYY < .fcXX).
%global baserelease 1
%global baserelease 2
Release: %{baserelease}%{?dist}
# Licenses:
@ -2249,6 +2249,13 @@ run_tests () {
done <rpmbuild.tests.sum.not-passing
fi
# Compile the xtests, so that they can be run separately later.
%make_build run-built-tests=no xcheck |& tee rpmbuild.xcheck.log
if ! grep -Eq '^\s+=== Summary of results for extra tests ===$' rpmbuild.xcheck.log ; then
echo "FAIL: xcheck test suite build of target: $(basename "$(pwd)")" >& 2
exit 1
fi
# Unconditonally dump differences in the system call list.
echo "* System call consistency checks:" >&2
cat misc/tst-syscall-list.out >&2
@ -2574,6 +2581,9 @@ update_gconv_modules_cache ()
%endif
%changelog
* Thu Sep 19 2024 Florian Weimer <fweimer@redhat.com> - 2.40.9000-2
- Ensure that xtests can be built
* Thu Sep 05 2024 Florian Weimer <fweimer@redhat.com> - 2.40.9000-1
- Remove RHEL-18039-1.patch, RHEL-18039-2.patch. Applied upstream.
- Auto-sync with upstream branch master,