v2v: tests: Don't need to generate test-v2v-networks-and-bridges.xml.

virt-v2v understands relative paths in libvirt XML (even though they
are not legal and libvirt itself wouldn't generate it).  We don't need
to generate this file.
This commit is contained in:
Richard W.M. Jones
2015-04-20 21:06:15 +01:00
parent a1646fa65c
commit 3834a1064f
4 changed files with 2 additions and 11 deletions

1
.gitignore vendored
View File

@@ -576,6 +576,5 @@ Makefile.in
/v2v/test-harness/dllv2v_test_harness.so
/v2v/test-harness/stamp-virt-v2v-test-harness.pod
/v2v/test-harness/virt-v2v-test-harness.1
/v2v/test-v2v-networks-and-bridges.xml
/v2v/virt-v2v
/v2v/virt-v2v.1

View File

@@ -1836,7 +1836,6 @@ AC_CONFIG_FILES([Makefile
tests/xml/Makefile
tools/Makefile
v2v/Makefile
v2v/test-v2v-networks-and-bridges.xml
v2v/test-harness/Makefile
v2v/test-harness/META])
AC_OUTPUT

View File

@@ -30,7 +30,7 @@ EXTRA_DIST = \
test-v2v-i-ova-two-disks.expected \
test-v2v-i-ova-two-disks.ovf \
test-v2v-networks-and-bridges-expected.xml \
test-v2v-networks-and-bridges.xml.in \
test-v2v-networks-and-bridges.xml \
virt-v2v.pod
CLEANFILES = *~ *.annot *.cmi *.cmo *.cmx *.cmxa *.o virt-v2v
@@ -247,11 +247,6 @@ TESTS += \
test-v2v-windows-conversion.sh
endif ENABLE_APPLIANCE
# This forces the file to be updated before running the tests, in case
# the .xml.in file has been changed. Be nice if automake just did the
# right thing here.
check_DATA = test-v2v-networks-and-bridges.xml
check-valgrind:
$(MAKE) VG="$(top_builddir)/run @VG@" check

View File

@@ -15,8 +15,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
@configure_input@
-->
<node>
<domain type='test'>
@@ -29,7 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
<devices>
<disk type='file' device='disk'>
<driver name='qemu' type='raw'/>
<source file='@abs_top_builddir@/tests/guests/windows.img'/>
<source file='../tests/guests/windows.img'/>
<target dev='vda' bus='virtio'/>
</disk>