# HG changeset patch # User David A. Holland # Date 1370964927 14400 # Node ID ecec7c16e3ba11f50deb4154dd0226eaf97162b3 # Parent 600f36cd7353a5d13e0514f50d38408759735ea1 add a couple more tests, taken from the 2010 tech-toolchain thread (one was from der Mouse, the other prompted by something he said) diff -r 600f36cd7353 -r ecec7c16e3ba CHANGES --- a/CHANGES Tue Jun 11 11:24:48 2013 -0400 +++ b/CHANGES Tue Jun 11 11:35:27 2013 -0400 @@ -3,6 +3,8 @@ - pass -Wunused (partly from Baptiste Daroussin) - allow absolute paths in include files (partly from Baptiste Daroussin) - don't use getprogname() in the name of portability + - add tests arising from December 2010 tech-toolchain thread (one + from der Mouse, one of mine) release 0.1 (20130610) - first release, works with at least some imake templates diff -r 600f36cd7353 -r ecec7c16e3ba tests/Makefile --- a/tests/Makefile Tue Jun 11 11:24:48 2013 -0400 +++ b/tests/Makefile Tue Jun 11 11:35:27 2013 -0400 @@ -3,7 +3,7 @@ TESTS=\ t01 t02 t03 t04 t05 t06 t07 t08 t09 t10 t11 t12 t13 t14 t15 t16 \ - t17 t18 t19 t20 t21 t22 t23 t24 + t17 t18 t19 t20 t21 t22 t23 t24 t25 t26 all: run-tests .WAIT show-diffs diff -r 600f36cd7353 -r ecec7c16e3ba tests/t25.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/t25.c Tue Jun 11 11:35:27 2013 -0400 @@ -0,0 +1,4 @@ +#define FOO foo /* +#undef FOO +#define FOO bar */ +FOO diff -r 600f36cd7353 -r ecec7c16e3ba tests/t25.good --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/t25.good Tue Jun 11 11:35:27 2013 -0400 @@ -0,0 +1,1 @@ +foo diff -r 600f36cd7353 -r ecec7c16e3ba tests/t26.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/t26.c Tue Jun 11 11:35:27 2013 -0400 @@ -0,0 +1,2 @@ +#define FOO foo +"FOO" diff -r 600f36cd7353 -r ecec7c16e3ba tests/t26.good --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/t26.good Tue Jun 11 11:35:27 2013 -0400 @@ -0,0 +1,1 @@ +"foo"