From 776f2227f6244003a5bcb20ea77c49427e6af023 Mon Sep 17 00:00:00 2001 From: bellard Date: Wed, 2 Mar 2005 22:19:12 +0000 Subject: x86_64 test program git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1321 c046a42c-6fe2-441c-8c8c-71466251a162 --- tests/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'tests/Makefile') diff --git a/tests/Makefile b/tests/Makefile index 4bd1dc6e3d..de533f9322 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -6,6 +6,9 @@ LDFLAGS= ifeq ($(ARCH),i386) TESTS=linux-test testthread sha1-i386 test-i386 runcom endif +ifeq ($(ARCH),x86_64) +TESTS=test-x86_64 +endif TESTS+=sha1# test_path #TESTS+=test_path @@ -24,11 +27,15 @@ test_path: test_path.c $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< ./$@ || { rm $@; exit 1; } -# i386 emulation test (test various opcodes) */ +# 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) $(CFLAGS) $(LDFLAGS) -static -o $@ test-i386.c \ - test-i386-code16.S test-i386-vm86.S -lm + $(CC) $(CFLAGS) $(LDFLAGS) -static -o $@ \ + test-i386.c test-i386-code16.S test-i386-vm86.S -lm + +test-x86_64: test-i386.c \ + test-i386.h test-i386-shift.h test-i386-muldiv.h + $(CC) $(CFLAGS) $(LDFLAGS) -static -o $@ test-i386.c -lm ifeq ($(ARCH),i386) test: test-i386 -- cgit v1.2.1