diff options
| author | James Lyon <jamesly0n@hotmail.com> | 2013-04-19 23:21:33 +0100 |
|---|---|---|
| committer | James Lyon <jamesly0n@hotmail.com> | 2013-04-19 23:21:33 +0100 |
| commit | 05fa2e754b1f36f9dfb9e63b5c095765d64dd651 (patch) | |
| tree | 61e05b66fdd074fc2f40265519d6dc9f41db200d /tests/Makefile | |
| parent | 23f73e92f3e6c8b16d19d894390af222e77a5ec4 (diff) | |
| download | tinycc-05fa2e754b1f36f9dfb9e63b5c095765d64dd651.tar.gz tinycc-05fa2e754b1f36f9dfb9e63b5c095765d64dd651.tar.bz2 | |
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).
Diffstat (limited to 'tests/Makefile')
| -rw-r--r-- | tests/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
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 |
