]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: Drop unittest overrides
authorCole Robinson <crobinso@redhat.com>
Tue, 24 Sep 2019 17:21:13 +0000 (13:21 -0400)
committerCole Robinson <crobinso@redhat.com>
Wed, 25 Sep 2019 22:23:56 +0000 (18:23 -0400)
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>
libvirt.spec.in

index e2f2a40238b6f6a01839ce78327679c63c2c9ac1..2e1d5756633c6a652b0ca1d7571433bae1c2789f 100644 (file)
@@ -1313,15 +1313,6 @@ mv $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_qemu_probes.stp \
 %endif
 
 %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
 then
   cat test-suite.log || true