mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03:00
spec: Drop unittest overrides
nodinfotest.c doesn't exist anymore seclabeltest.c has changed substantially since this behavior was added to the spec, and in my testing doesn't have any problems running in mock Reviewed-by: Erik Skultety <eskultet@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
3ebde403c7
commit
03449e2504
@ -1313,15 +1313,6 @@ mv $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_qemu_probes.stp \
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
cd tests
|
|
||||||
# These tests don't current work in a mock build root
|
|
||||||
for i in nodeinfotest seclabeltest
|
|
||||||
do
|
|
||||||
rm -f $i
|
|
||||||
printf 'int main(void) { return 0; }' > $i.c
|
|
||||||
printf '#!/bin/sh\nexit 0\n' > $i
|
|
||||||
chmod +x $i
|
|
||||||
done
|
|
||||||
if ! make %{?_smp_mflags} check VIR_TEST_DEBUG=1
|
if ! make %{?_smp_mflags} check VIR_TEST_DEBUG=1
|
||||||
then
|
then
|
||||||
cat test-suite.log || true
|
cat test-suite.log || true
|
||||||
|
Loading…
Reference in New Issue
Block a user