mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
build: Use $(top_builddir)/run in Makefile.am's.
Not necessary, but this makes all invocations of 'run' consistent. There is no functional change.
This commit is contained in:
@@ -252,7 +252,7 @@ CLEANFILES = \
|
||||
# is NOT a substitute for proper testing!
|
||||
|
||||
quickcheck:
|
||||
./run test-tool/libguestfs-test-tool $(QUICKCHECK_TEST_TOOL_ARGS)
|
||||
$(top_builddir)/run test-tool/libguestfs-test-tool $(QUICKCHECK_TEST_TOOL_ARGS)
|
||||
|
||||
# Run extra-tests in tests/extra/ subdirectory.
|
||||
|
||||
|
||||
@@ -104,22 +104,22 @@ endif
|
||||
|
||||
example-debian.xml:
|
||||
rm -f $@ $@-t
|
||||
../run --test \
|
||||
$(top_builddir)/run --test \
|
||||
$(builddir)/virt-inspector ../tests/guests/debian.img > $@-t
|
||||
mv $@-t $@
|
||||
example-fedora.xml:
|
||||
rm -f $@ $@-t
|
||||
../run --test \
|
||||
$(top_builddir)/run --test \
|
||||
$(builddir)/virt-inspector ../tests/guests/fedora.img > $@-t
|
||||
mv $@-t $@
|
||||
example-ubuntu.xml:
|
||||
rm -f $@ $@-t
|
||||
../run --test \
|
||||
$(top_builddir)/run --test \
|
||||
$(builddir)/virt-inspector ../tests/guests/ubuntu.img > $@-t
|
||||
mv $@-t $@
|
||||
example-windows.xml:
|
||||
rm -f $@ $@-t
|
||||
../run --test \
|
||||
$(top_builddir)/run --test \
|
||||
$(builddir)/virt-inspector ../tests/guests/windows.img | \
|
||||
fgrep -v '<uuid>' > $@-t
|
||||
mv $@-t $@
|
||||
|
||||
@@ -108,12 +108,12 @@ stamp-virt-sysprep.pod: virt-sysprep.pod sysprep-extra-options.pod sysprep-opera
|
||||
|
||||
sysprep-extra-options.pod: virt-sysprep
|
||||
rm -f $@ $@-t
|
||||
../run ./$< --dump-pod-options > $@-t
|
||||
$(top_builddir)/run ./$< --dump-pod-options > $@-t
|
||||
mv $@-t $@
|
||||
|
||||
sysprep-operations.pod: virt-sysprep
|
||||
rm -f $@ $@-t
|
||||
../run ./$< --dump-pod > $@-t
|
||||
$(top_builddir)/run ./$< --dump-pod > $@-t
|
||||
mv $@-t $@
|
||||
|
||||
# Tests.
|
||||
|
||||
@@ -49,7 +49,7 @@ fedora.img: guest-aux/make-fedora-img.pl \
|
||||
TMPDIR=$(top_builddir) \
|
||||
SRCDIR=$(srcdir) \
|
||||
LAYOUT=partitions \
|
||||
../../run --test $<
|
||||
$(top_builddir)/run --test $<
|
||||
|
||||
# Make a (dummy) Fedora image using md devices
|
||||
fedora-md1.img fedora-md2.img: stamp-fedora-md.img
|
||||
@@ -61,7 +61,7 @@ stamp-fedora-md.img: guest-aux/make-fedora-img.pl \
|
||||
TMPDIR=$(top_builddir) \
|
||||
SRCDIR=$(srcdir) \
|
||||
LAYOUT=partitions-md \
|
||||
../../run --test $<
|
||||
$(top_builddir)/run --test $<
|
||||
touch $@
|
||||
|
||||
guest-aux/fedora-name.db: guest-aux/fedora-name.db.txt
|
||||
|
||||
Reference in New Issue
Block a user