Received: from eggs.gnu.org ([2001:4830:134:3::10]:43778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCJho-0002x9-5c for qemu-devel@nongnu.org; Thu, 01 Dec 2016 00:14:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCJhm-0007Uj-VQ for qemu-devel@nongnu.org; Thu, 01 Dec 2016 00:14:48 -0500 Received: from mail-yw0-x244.google.com ([2607:f8b0:4002:c05::244]:35284) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cCJhm-0007TA-PW for qemu-devel@nongnu.org; Thu, 01 Dec 2016 00:14:46 -0500 Received: by mail-yw0-x244.google.com with SMTP id b66so16737811ywh.2 for ; Wed, 30 Nov 2016 21:14:46 -0800 (PST) From: Pranith Kumar Date: Thu, 1 Dec 2016 00:14:29 -0500 Message-Id: <20161201051433.17168-16-bobby.prani@gmail.com> In-Reply-To: <20161201051433.17168-1-bobby.prani@gmail.com> References: <20161201051433.17168-1-bobby.prani@gmail.com> Subject: [Qemu-devel] [PATCH 15/19] tests/tcg/i386: Fix test-i386 compilation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: alex.bennee@linaro.org Cc: qemu-devel@nongnu.org, rth@twiddle.net Signed-off-by: Pranith Kumar --- tests/tcg/i386/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/tcg/i386/Makefile b/tests/tcg/i386/Makefile index 15f77af..97c1a97 100644 --- a/tests/tcg/i386/Makefile +++ b/tests/tcg/i386/Makefile @@ -20,13 +20,13 @@ LDFLAGS= # also, pi_10.com runs indefinitely I386_TESTS=hello-i386 \ - test-i386 \ test-i386-fprem # runcom # native i386 compilers sometimes are not biarch. assume cross-compilers are ifneq ($(ARCH),i386) -I386_TESTS+=run-test-x86_64 +I386_TESTS+=test-i386 \ + run-test-x86_64 endif all: $(patsubst %,run-%,$(I386_TESTS)) @@ -44,7 +44,7 @@ run-hello-i386: hello-i386 run-test-i386: test-i386 ./test-i386 > test-i386.ref - -$(QEMU) test-i386 > test-i386.out + -$(QEMU_X86_64) test-i386 > test-i386.out @if cmp -s test-i386.ref test-i386.out ; then echo "Auto Test OK"; fi run-test-i386-fprem: test-i386-fprem @@ -69,7 +69,7 @@ hello-i386: hello-i386.c # i386/x86_64 emulation test (test various opcodes) */ test-i386: test-i386.c test-i386-code16.S test-i386-vm86.S \ test-i386.h test-i386-shift.h test-i386-muldiv.h - $(CC_I386) $(QEMU_INCLUDES) $(CFLAGS) $(LDFLAGS) -o $@ \ + $(CC) $(QEMU_INCLUDES) $(CFLAGS) $(LDFLAGS) -o $@ \ $(