p2v: split appliance tests in own variable

This way they can be properly shipped also when creating a distribution
tarball ('make dist') from a build configured with --disable-appliance.
This commit is contained in:
Pino Toscano
2019-07-08 18:58:19 +02:00
parent 99cec3c1e7
commit 730d2122c4

View File

@@ -25,7 +25,7 @@ BUILT_SOURCES = \
EXTRA_DIST = \
$(BUILT_SOURCES) \
$(TESTS) $(SLOW_TESTS) \
$(TESTS) $(APPLIANCE_TESTS) $(SLOW_TESTS) \
contrib/aux-scripts/do-build.sh \
contrib/build-p2v-iso.sh \
contrib/patches/0001-RHEL-5-ONLY-DISABLE-AUTOMATIC-REMOTE-PORT-ALLOCATION.patch \
@@ -288,10 +288,13 @@ TESTS = \
test-virt-p2v-cmdline.sh \
test-virt-p2v-docs.sh
APPLIANCE_TESTS = \
test-virt-p2v.sh \
test-virt-p2v-nbdkit.sh
if ENABLE_APPLIANCE
TESTS += \
test-virt-p2v.sh \
test-virt-p2v-nbdkit.sh \
$(APPLIANCE_TESTS) \
$(SLOW_TESTS)
endif ENABLE_APPLIANCE