From 05fa2e754b1f36f9dfb9e63b5c095765d64dd651 Mon Sep 17 00:00:00 2001 From: James Lyon Date: Fri, 19 Apr 2013 23:21:33 +0100 Subject: Workaround for MinGWs use of 80-bit long double on Win32. This is incompatible with MSVC and TCC on Win32. Bounds checking appears to be broken (test4). --- tests/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/Makefile') diff --git a/tests/Makefile b/tests/Makefile index 48668e6..9c8a433 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -108,20 +108,20 @@ test3: test.ref test4: test.ref @echo ------------ $@ ------------ # object + link output - $(TCC) -c -o tcctest3.o tcctest.c + $(TCC) -c -o tcctest3.o $(SRCDIR)/tcctest.c $(TCC) -o tcctest3 tcctest3.o ./tcctest3 > test3.out @if diff -u test.ref test3.out ; then echo "Object Auto Test OK"; fi # dynamic output - $(TCC) -o tcctest1 tcctest.c + $(TCC) -o tcctest1 $(SRCDIR)/tcctest.c ./tcctest1 > test1.out @if diff -u test.ref test1.out ; then echo "Dynamic Auto Test OK"; fi # dynamic output + bound check - $(TCC) -b -o tcctest4 tcctest.c + $(TCC) -b -o tcctest4 $(SRCDIR)/tcctest.c ./tcctest4 > test4.out @if diff -u test.ref test4.out ; then echo "BCheck Auto Test OK"; fi # static output - $(TCC) -static -o tcctest2 tcctest.c + $(TCC) -static -o tcctest2 $(SRCDIR)/tcctest.c ./tcctest2 > test2.out @if diff -u test.ref test2.out ; then echo "Static Auto Test OK"; fi @@ -188,8 +188,8 @@ abitest-tcc$(EXESUF): abitest.c $(top_builddir)/$(LIBTCC) abitest: abitest-cc$(EXESUF) abitest-tcc$(EXESUF) @echo ------------ $@ ------------ - ./abitest-cc$(EXESUF) lib_path=.. - ./abitest-tcc$(EXESUF) lib_path=.. + ./abitest-cc$(EXESUF) lib_path=.. include="$(top_srcdir)/include" + ./abitest-tcc$(EXESUF) lib_path=.. include="$(top_srcdir)/include" # targets for development %.bin: %.c tcc -- cgit v1.3.1