diff options
Diffstat (limited to 'tests/Makefile')
| -rw-r--r-- | tests/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/Makefile b/tests/Makefile index 78b5644..50b3a8c 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -21,7 +21,7 @@ TESTS = \ BTESTS = test1b test3b btest # test4 -- problem with -static -# asmtest -- minor differences with gcc +# asmtest / asmtest2 -- minor differences with gcc # btest -- works on i386 (including win32) # bounds-checking is supported only on i386 @@ -173,12 +173,15 @@ asmtest.ref: asmtest.S $(CC) -Wa,-W -o asmtest.ref.o -c asmtest.S objdump -D asmtest.ref.o > asmtest.ref -asmtest: asmtest.ref +asmtest asmtest2: asmtest.ref @echo ------------ $@ ------------ - $(TCC) -c asmtest.S + $(TCC) $(MAYBE_RUN_TCC) -c asmtest.S objdump -D asmtest.o > asmtest.out @if diff -u --ignore-matching-lines="file format" asmtest.ref asmtest.out ; then echo "ASM Auto Test OK"; fi +# test assembler with tcc compiled by itself +asmtest2: MAYBE_RUN_TCC = $(RUN_TCC) + # Check that code generated by libtcc is binary compatible with # that generated by CC abitest-cc$(EXESUF): abitest.c $(LIBTCC) |
