Commit d30329297bf76338326edd8ee39342d0fd37d0df

Authored by bellard
1 parent a95c6790

removed unused dependancy if non x86


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@222 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 3 additions and 1 deletions
tests/Makefile
@@ -35,9 +35,11 @@ test-i386: test-i386.c test-i386-code16.S test-i386-vm86.S \ @@ -35,9 +35,11 @@ test-i386: test-i386.c test-i386-code16.S test-i386-vm86.S \
35 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ test-i386.c \ 35 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ test-i386.c \
36 test-i386-code16.S test-i386-vm86.S -lm 36 test-i386-code16.S test-i386-vm86.S -lm
37 37
38 -test: test-i386  
39 ifeq ($(ARCH),i386) 38 ifeq ($(ARCH),i386)
  39 +test: test-i386
40 ./test-i386 > test-i386.ref 40 ./test-i386 > test-i386.ref
  41 +else
  42 +test:
41 endif 43 endif
42 $(QEMU) test-i386 > test-i386.out 44 $(QEMU) test-i386 > test-i386.out
43 @if diff -u test-i386.ref test-i386.out ; then echo "Auto Test OK"; fi 45 @if diff -u test-i386.ref test-i386.out ; then echo "Auto Test OK"; fi