mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 17:57:43 +03:00
build: clean up stray files found by 'make distcheck'
'make distcheck' complained: ERROR: files left in build directory after distclean: ./python/libvirt.pyc ./tests/commandhelper.log Problems introduced in commits f015495 and 25ea8e4 (both v1.0.3). * tests/commandtest.c (test21): Check (and clean) log file. * tests/commanddata/test21.log: New file. * python/Makefile.am (CLEANFILES): Clean up compiled python files. Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
ed11ab93fa
commit
c21c38d71b
@ -142,7 +142,8 @@ uninstall-local:
|
|||||||
rm -f $(DESTDIR)$(pyexecdir)/libvirt_lxc.py
|
rm -f $(DESTDIR)$(pyexecdir)/libvirt_lxc.py
|
||||||
rm -f $(DESTDIR)$(pyexecdir)/libvirt_qemu.py
|
rm -f $(DESTDIR)$(pyexecdir)/libvirt_qemu.py
|
||||||
|
|
||||||
CLEANFILES= $(GENERATED) $(QEMU_GENERATED) $(LXC_GENERATED) $(GENERATE).stamp
|
CLEANFILES= $(GENERATED) $(QEMU_GENERATED) $(LXC_GENERATED) $(GENERATE).stamp \
|
||||||
|
*.pyc
|
||||||
|
|
||||||
else
|
else
|
||||||
all:
|
all:
|
||||||
|
12
tests/commanddata/test21.log
Normal file
12
tests/commanddata/test21.log
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
ENV:DISPLAY=:0.0
|
||||||
|
ENV:HOME=/home/test
|
||||||
|
ENV:HOSTNAME=test
|
||||||
|
ENV:LANG=C
|
||||||
|
ENV:LOGNAME=testTMPDIR=/tmp
|
||||||
|
ENV:PATH=/usr/bin:/bin
|
||||||
|
ENV:USER=test
|
||||||
|
FD:0
|
||||||
|
FD:1
|
||||||
|
FD:2
|
||||||
|
DAEMON:no
|
||||||
|
CWD:/tmp
|
@ -891,7 +891,7 @@ static int test21(const void *unused ATTRIBUTE_UNUSED)
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = 0;
|
ret = checkoutput("test21");
|
||||||
cleanup:
|
cleanup:
|
||||||
VIR_FREE(outbuf);
|
VIR_FREE(outbuf);
|
||||||
VIR_FREE(errbuf);
|
VIR_FREE(errbuf);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user