From 46dd2971abfe9fd289a8b0f6265e1f5fccf584f3 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Sun, 15 Dec 2013 09:49:20 +0800 Subject: make git ignore lib/arm directory --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index da0d094..0216bf8 100644 --- a/.gitignore +++ b/.gitignore @@ -53,6 +53,7 @@ lib/x86_64 lib/i386 lib/x86_64-win32 lib/i386-win32 +lib/arm tcc-doc.info conftest* tiny_libmaker -- cgit v1.3.1 From 6f3569e4e2db13f1e12de52d631fc10e87145d4f Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Wed, 18 Dec 2013 11:57:57 +0800 Subject: Ignore abitest-cc and abitest-tcc test programs --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 0216bf8..4ba6761 100644 --- a/.gitignore +++ b/.gitignore @@ -40,6 +40,7 @@ tests/tcctest.gcc tests/weaktest.*.o.txt tests/tests2/fred.txt tests/hello +tests/abitest-*cc .gdb_history tcc.1 tcc.pod -- cgit v1.3.1 From d3d89900f6e0a052f2fc15482fca58ce95cb94d1 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Sun, 9 Mar 2014 22:54:48 +0800 Subject: Don't hardcode gcc in tests Makefile --- .gitignore | 2 +- tests/Makefile | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 4ba6761..6e5075f 100644 --- a/.gitignore +++ b/.gitignore @@ -36,7 +36,7 @@ p2.c tcctest[1234] test[1234].out tests/tcclib.h -tests/tcctest.gcc +tests/tcctest.cc tests/weaktest.*.o.txt tests/tests2/fred.txt tests/hello diff --git a/tests/Makefile b/tests/Makefile index 4d99a46..0cfefca 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -103,10 +103,10 @@ moretests: w32-prep: cp ../libtcc1.a ../lib -# test.ref - generate using gcc +# test.ref - generate using cc test.ref: tcctest.c - gcc -o tcctest.gcc $< -I$(top_srcdir) $(CPPFLAGS) -w $(CFLAGS) $(NATIVE_DEFINES) -std=gnu99 -O0 -fno-omit-frame-pointer $(LDFLAGS) - ./tcctest.gcc > $@ + $(CC) -o tcctest.cc $< -I$(top_srcdir) $(CPPFLAGS) -w $(CFLAGS) $(NATIVE_DEFINES) -std=gnu99 -O0 -fno-omit-frame-pointer $(LDFLAGS) + ./tcctest.cc > $@ # auto test test1 test1b: tcctest.c test.ref @@ -183,10 +183,10 @@ speedtest: ex2 ex3 weaktest: tcctest.c test.ref $(TCC) -c $< -o weaktest.tcc.o $(CPPFLAGS) $(CFLAGS) - $(CC) -c $< -o weaktest.gcc.o -I. $(CPPFLAGS) -w $(CFLAGS) + $(CC) -c $< -o weaktest.cc.o -I. $(CPPFLAGS) -w $(CFLAGS) objdump -t weaktest.tcc.o | grep ' w ' | sed -e 's/.* \([a-zA-Z0-9_]*\)$$/\1/' | LC_ALL=C sort > weaktest.tcc.o.txt - objdump -t weaktest.gcc.o | grep ' w ' | sed -e 's/.* \([a-zA-Z0-9_]*\)$$/\1/' | LC_ALL=C sort > weaktest.gcc.o.txt - diff weaktest.gcc.o.txt weaktest.tcc.o.txt && echo "Weak Auto Test OK" + objdump -t weaktest.cc.o | grep ' w ' | sed -e 's/.* \([a-zA-Z0-9_]*\)$$/\1/' | LC_ALL=C sort > weaktest.cc.o.txt + diff weaktest.cc.o.txt weaktest.tcc.o.txt && echo "Weak Auto Test OK" ex%: $(top_srcdir)/examples/ex%.c $(CC) -o $@ $< $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) @@ -239,6 +239,6 @@ cache: tcc_g # clean clean: $(MAKE) -C tests2 $@ - rm -vf *~ *.o *.a *.bin *.i *.ref *.out *.out? *.out?b *.gcc *.exe \ + rm -vf *~ *.o *.a *.bin *.i *.ref *.out *.out? *.out?b *.cc *.exe \ hello libtcc_test tcctest[1234] ex? tcc_g tcclib.h \ ../lib/libtcc1.a -- cgit v1.3.1 From b0f8ca5e0306b09077866d959b307618755513cd Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Sat, 5 Apr 2014 22:52:17 +0200 Subject: Git should ignore tests2 executables. --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 6e5075f..ad56048 100644 --- a/.gitignore +++ b/.gitignore @@ -39,6 +39,7 @@ tests/tcclib.h tests/tcctest.cc tests/weaktest.*.o.txt tests/tests2/fred.txt +tests/tests2/*.exe tests/hello tests/abitest-*cc .gdb_history -- cgit v1.3.1 From 469ae3a7e57aba6fd0f53afdf2657d8f1a439928 Mon Sep 17 00:00:00 2001 From: minux Date: Sat, 12 Apr 2014 01:10:58 -0400 Subject: build: ignore and properly clean tests/vla_test --- .gitignore | 1 + tests/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index ad56048..348aba7 100644 --- a/.gitignore +++ b/.gitignore @@ -42,6 +42,7 @@ tests/tests2/fred.txt tests/tests2/*.exe tests/hello tests/abitest-*cc +tests/vla_test .gdb_history tcc.1 tcc.pod diff --git a/tests/Makefile b/tests/Makefile index ee0eafe..e3824ba 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -241,5 +241,5 @@ clean: $(MAKE) -C tests2 $@ rm -vf *~ *.o *.a *.bin *.i *.ref *.out *.out? *.out?b *.cc \ *-cc *-tcc *.exe \ - hello libtcc_test tcctest[1234] ex? tcc_g tcclib.h \ + hello libtcc_test vla_test tcctest[1234] ex? tcc_g tcclib.h \ ../lib/libtcc1.a -- cgit v1.3.1