[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC v1 1/4] tests/Makefile.include: unbreak non-tcg builds
From: |
Paolo Bonzini |
Subject: |
Re: [RFC v1 1/4] tests/Makefile.include: unbreak non-tcg builds |
Date: |
Fri, 9 Oct 2020 19:10:23 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 09/10/20 17:21, Claudio Fontana wrote:
> From: Paolo Bonzini <pbonzini@redhat.com>
>
> XXX known to be wrong, this breaks other non-native builds
>
> remove dependency of check-block from non-native archs
>
>
> ---
> tests/Makefile.include | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/Makefile.include b/tests/Makefile.include
> index 5aca98e60c..1ca70d88ce 100644
> --- a/tests/Makefile.include
> +++ b/tests/Makefile.include
> @@ -140,7 +140,7 @@ QEMU_IOTESTS_HELPERS-$(CONFIG_LINUX) =
> tests/qemu-iotests/socket_scm_helper$(EXE
> check: check-block
> check-block: $(SRC_PATH)/tests/check-block.sh qemu-img$(EXESUF) \
> qemu-io$(EXESUF) qemu-nbd$(EXESUF) $(QEMU_IOTESTS_HELPERS-y) \
> - $(patsubst %-softmmu,qemu-system-%,$(filter
> %-softmmu,$(TARGET_DIRS)))
> + qemu-system-$(patsubst ppc64%,ppc64, $(shell uname -m))
> @$<
> endif
>
>
This is a better one:
diff --git a/tests/Makefile.include b/tests/Makefile.include
index 5aca98e60c..ceeda65da2 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -140,7 +140,7 @@ QEMU_IOTESTS_HELPERS-$(CONFIG_LINUX) =
tests/qemu-iotests/socket_scm_helper$(EXE
check: check-block
check-block: $(SRC_PATH)/tests/check-block.sh qemu-img$(EXESUF) \
qemu-io$(EXESUF) qemu-nbd$(EXESUF) $(QEMU_IOTESTS_HELPERS-y) \
- $(patsubst %-softmmu,qemu-system-%,$(filter
%-softmmu,$(TARGET_DIRS)))
+ $(filter qemu-system-%, $(ninja-targets-c_LINKER)
$(ninja-targets-cpp_LINKER))
@$<
endif
- [RFC v1 3/4] qtest: do not build ide-test if TCG is not available, (continued)
[RFC v1 2/4] qtest: unbreak non-TCG builds in bios-tables-test, Claudio Fontana, 2020/10/09
[RFC v1 4/4] replay: do not build if TCG is not available, Claudio Fontana, 2020/10/09
[RFC v1 1/4] tests/Makefile.include: unbreak non-tcg builds, Claudio Fontana, 2020/10/09
- Re: [RFC v1 1/4] tests/Makefile.include: unbreak non-tcg builds,
Paolo Bonzini <=
Re: [RFC v1 0/4] unbreak non-tcg builds, no-reply, 2020/10/09