[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH for-2.3? 4/7] tests/tcg: Fix running x86_64 test
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [PATCH for-2.3? 4/7] tests/tcg: Fix running x86_64 tests |
Date: |
Mon, 13 Apr 2015 16:35:48 +0100 |
Andreas Färber <address@hidden> writes:
> When ARCH != i386, the wrong test target was being added to the list of
> tests to run. Fix this to have test-x86_64 run as well.
>
> Note that test-x86_64 produces two build warnings on gcc 4.8.3, but we
> don't use -Werror for these tests:
>
> test-i386.c:2110:1: warning: specifying vector types with __attribute__
> ((mode)) is deprecated [-Wattributes]
> typedef int __m64 __attribute__ ((__mode__ (__V2SI__)));
> test-i386.c:2110:1: warning: use __attribute__ ((vector_size)) instead
> [-Wattributes]
>
> test-i386.c:2111:1: warning: specifying vector types with __attribute__
> ((mode)) is deprecated [-Wattributes]
> typedef float __m128 __attribute__ ((__mode__(__V4SF__)));
> test-i386.c:2111:1: warning: use __attribute__ ((vector_size)) instead
> [-Wattributes]
>
> Signed-off-by: Andreas Färber <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
> ---
> tests/tcg/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/tcg/Makefile b/tests/tcg/Makefile
> index d79e0bb..ab1055f 100644
> --- a/tests/tcg/Makefile
> +++ b/tests/tcg/Makefile
> @@ -29,7 +29,7 @@ I386_TESTS=hello-i386 \
>
> # native i386 compilers sometimes are not biarch. assume cross-compilers are
> ifneq ($(ARCH),i386)
> -I386_TESTS+=run-test-x86_64
> +I386_TESTS+=test-x86_64
> endif
>
> TESTS = test_path
--
Alex Bennée
- [Qemu-devel] [PATCH for-2.3? 0/7] tests: Fix TCG make test, Andreas Färber, 2015/04/11
- [Qemu-devel] [PATCH for-2.3? 4/7] tests/tcg: Fix running x86_64 tests, Andreas Färber, 2015/04/11
- Re: [Qemu-devel] [PATCH for-2.3? 4/7] tests/tcg: Fix running x86_64 tests,
Alex Bennée <=
- [Qemu-devel] [PATCH for-2.3? 2/7] tests/tcg: Fix linux-test build, Andreas Färber, 2015/04/11
- [Qemu-devel] [PATCH for-2.3? 3/7] tests/tcg: Disable hanging test-mmap runs, Andreas Färber, 2015/04/11
- [Qemu-devel] [PATCH for-2.3? 1/7] tests/tcg: Fix test_path build, Andreas Färber, 2015/04/11
- [Qemu-devel] [PATCH for-2.3? 7/7] tests/tcg: Enable runcom test by default, Andreas Färber, 2015/04/11