[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 06/11] tests/Makefile: Add $(EXESUF) to fp-test target
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH 06/11] tests/Makefile: Add $(EXESUF) to fp-test target |
Date: |
Wed, 12 Aug 2020 11:47:48 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 |
On 04/08/20 19:00, Thomas Huth wrote:
> In case we ever want to compile this for Windows, we need the $(EXESUF)
> here.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> tests/Makefile.include | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/Makefile.include b/tests/Makefile.include
> index 2806e062d0..e2532e12e2 100644
> --- a/tests/Makefile.include
> +++ b/tests/Makefile.include
> @@ -687,7 +687,7 @@ check-report.tap: $(patsubst %,check-report-qtest-%.tap,
> $(QTEST_TARGETS)) check
> # generic Makefile expansions. Once we are cleanly passing all
> # the tests we can simplify the make syntax.
>
> -FP_TEST_BIN=$(BUILD_DIR)/tests/fp/fp-test
> +FP_TEST_BIN=$(BUILD_DIR)/tests/fp/fp-test$(EXESUF)
>
> # the build dir is created by configure
> $(FP_TEST_BIN): config-host.h $(test-util-obj-y)
>
When converting it to Meson, fptest broke badly for me on Windows due to
namespace pollution (Windows headers use FLOAT128 and LITTLEENDIAN
symbols). I would just leave out this patch since check-softfloat has
been converted to meson already.
Paolo
- Re: [PATCH 02/11] target/riscv/vector_helper: Fix build on 32-bit big endian targets, (continued)
- [PATCH 01/11] virtio-mem: Correct format specifier mismatch for RISC-V, Thomas Huth, 2020/08/04
- [PATCH 03/11] tests/Makefile: test-image-locking needs CONFIG_POSIX, Thomas Huth, 2020/08/04
- [PATCH 04/11] tests/Makefile: test-replication needs CONFIG_POSIX, Thomas Huth, 2020/08/04
- [PATCH 05/11] tests/Makefile: Only build usable targets during 'make check-build', Thomas Huth, 2020/08/04
- [PATCH 07/11] Get rid of the libqemustub.a remainders, Thomas Huth, 2020/08/04
- [PATCH 06/11] tests/Makefile: Add $(EXESUF) to fp-test target, Thomas Huth, 2020/08/04
- [PATCH 08/11] stubs/notify-event: Mark qemu_notify_event() stub as "weak", Thomas Huth, 2020/08/04
- [PATCH 09/11] gitlab-ci: Add cross-compiling build tests, Thomas Huth, 2020/08/04
- [PATCH 10/11] configure: Allow automatic WHPX detection, Thomas Huth, 2020/08/04
- [PATCH 11/11] dockerfiles/debian-win64-cross: Download WHPX MinGW headers, Thomas Huth, 2020/08/04