Mercurial > ~dholland > hg > tradcpp > index.cgi
changeset 58:0cd5a1d55ed6
rename joerg's tests to not conflict.
author | David A. Holland |
---|---|
date | Sun, 31 Mar 2013 01:13:03 -0400 |
parents | a3dd0db23b0c |
children | a52f0229f22b |
files | tests/Makefile tests/t13.c tests/t13.good tests/t14.c tests/t14.good tests/t15.c tests/t15.good tests/t16.c tests/t16.good tests/t17.c tests/t17.good tests/t18.c tests/t18.good tests/t19.c tests/t19.good |
diffstat | 13 files changed, 32 insertions(+), 32 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/Makefile Sun Mar 31 06:45:44 2013 +0200 +++ b/tests/Makefile Sun Mar 31 01:13:03 2013 -0400 @@ -11,7 +11,7 @@ TRADCPP_OBJDIR!= ${MAKE} -C .. -V .OBJDIR TRADCPP= ${TRADCPP_OBJDIR}/tradcpp -TESTS=t01 t02 t03 t04 t05 t06 t07 t08 t09 t10 t11 t12 t13 t14 t15 t16 +TESTS=t01 t02 t03 t04 t05 t06 t07 t08 t09 t10 t11 t12 t16 t17 t18 t19 .for T in $(TESTS) run-tests: $(T).diff
--- a/tests/t13.c Sun Mar 31 06:45:44 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -#define a() x -a() -a () -#define b(p) p -x/**/b(1)/**/x -x/**/b (1)/**/x -x/**/b()/**/x -#define c(p,q) p/**/q -x/**/c(1,2)/**/x -x/**/c(1)/**/x -x/**/c()/**/x
--- a/tests/t13.good Sun Mar 31 06:45:44 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -x -x -x1x -x1x -xx -x12x -t13.c:10:1: Wrong number of arguments for macro c; found 1, expected 2 -x1x -t13.c:11:1: Wrong number of arguments for macro c; found 0, expected 2 -xx -FAILED
--- a/tests/t14.c Sun Mar 31 06:45:44 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -#define file "subdir/test.h" -#include file
--- a/tests/t14.good Sun Mar 31 06:45:44 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -hello
--- a/tests/t15.c Sun Mar 31 06:45:44 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -#if FOO /* ignore me */ -#endif
--- a/tests/t16.c Sun Mar 31 06:45:44 2013 +0200 +++ b/tests/t16.c Sun Mar 31 01:13:03 2013 -0400 @@ -1,3 +1,11 @@ -#define foo /* comment continues - into the next line */ baz -baz +#define a() x +a() +a () +#define b(p) p +x/**/b(1)/**/x +x/**/b (1)/**/x +x/**/b()/**/x +#define c(p,q) p/**/q +x/**/c(1,2)/**/x +x/**/c(1)/**/x +x/**/c()/**/x
--- a/tests/t16.good Sun Mar 31 06:45:44 2013 +0200 +++ b/tests/t16.good Sun Mar 31 01:13:03 2013 -0400 @@ -1,1 +1,11 @@ -baz +x +x +x1x +x1x +xx +x12x +t16.c:10:1: Wrong number of arguments for macro c; found 1, expected 2 +x1x +t16.c:11:1: Wrong number of arguments for macro c; found 0, expected 2 +xx +FAILED
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/t17.c Sun Mar 31 01:13:03 2013 -0400 @@ -0,0 +1,2 @@ +#define file "subdir/test.h" +#include file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/t17.good Sun Mar 31 01:13:03 2013 -0400 @@ -0,0 +1,1 @@ +hello
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/t18.c Sun Mar 31 01:13:03 2013 -0400 @@ -0,0 +1,2 @@ +#if FOO /* ignore me */ +#endif