mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
rpm: fix setting of VIR_TEST_DEBUG
The %meson_test macro expands to have a newline at the start, so rather than expanding to VIR_TEST_DEBUG=1 meson test .... we get VIR_TEST_DEBUG=1 meson test .... which has no effect, since VIR_TEST_DEBUG isn't exported. Reviewed-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
3499354e12
commit
9d0c8618db
@ -1592,7 +1592,8 @@ rm -rf $RPM_BUILD_ROOT%{mingw64_libexecdir}/libvirt-guests.sh
|
|||||||
%if %{with_native}
|
%if %{with_native}
|
||||||
# Building on slow archs, like emulated s390x in Fedora copr, requires
|
# Building on slow archs, like emulated s390x in Fedora copr, requires
|
||||||
# raising the test timeout
|
# raising the test timeout
|
||||||
VIR_TEST_DEBUG=1 %meson_test --no-suite syntax-check --timeout-multiplier 10
|
export VIR_TEST_DEBUG=1
|
||||||
|
%meson_test --no-suite syntax-check --timeout-multiplier 10
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define libvirt_rpmstatedir %{_localstatedir}/lib/rpm-state/libvirt
|
%define libvirt_rpmstatedir %{_localstatedir}/lib/rpm-state/libvirt
|
||||||
|
Loading…
Reference in New Issue
Block a user