diff options
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile index 5f6479e204..4b58c197ef 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -35,9 +35,11 @@ test-i386: test-i386.c test-i386-code16.S test-i386-vm86.S \ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ test-i386.c \ test-i386-code16.S test-i386-vm86.S -lm -test: test-i386 ifeq ($(ARCH),i386) +test: test-i386 ./test-i386 > test-i386.ref +else +test: endif $(QEMU) test-i386 > test-i386.out @if diff -u test-i386.ref test-i386.out ; then echo "Auto Test OK"; fi |