diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 2 | ||||
-rw-r--r-- | tests/test-inputs/Makefile.am | 11 | ||||
-rw-r--r-- | tests/test-output-refs/Makefile.am | 13 | ||||
-rw-r--r-- | tests/test0-main.c | 4 | ||||
-rw-r--r-- | tests/test1-main.c | 4 | ||||
-rwxr-xr-x | tests/testctl | 2 |
6 files changed, 31 insertions, 5 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index ab49eec..8aa5ccd 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,3 +1,5 @@ +SUBDIRS=test-inputs test-output-refs + if HAVE_TESTS core_tests=@CORE_TESTS@ diff --git a/tests/test-inputs/Makefile.am b/tests/test-inputs/Makefile.am new file mode 100644 index 0000000..62d0338 --- /dev/null +++ b/tests/test-inputs/Makefile.am @@ -0,0 +1,11 @@ +EXTRA_DIST=test0.1.css \ +test1.css \ +test2.1.css \ +test2.2.css \ +test2.css \ +test3.1.css \ +test3.2.css \ +test3.css \ +test4.1.css \ +test4.2.css \ +test5.1.css diff --git a/tests/test-output-refs/Makefile.am b/tests/test-output-refs/Makefile.am new file mode 100644 index 0000000..9e678b5 --- /dev/null +++ b/tests/test-output-refs/Makefile.am @@ -0,0 +1,13 @@ +EXTRA_DIST=test0.1.css.out \ +test1.css.out \ +test2.1.css.out \ +test2.2.css.out \ +test2.css.out \ +test3.1.css.out \ +test3.2.css.out \ +test3.css.out \ +test4.1.css.out \ +test4.2.css.out \ +test5.1.css.out \ +test6.out \ +test7.out
\ No newline at end of file diff --git a/tests/test0-main.c b/tests/test0-main.c index db3f7d8..ac1a55e 100644 --- a/tests/test0-main.c +++ b/tests/test0-main.c @@ -24,8 +24,8 @@ *$Id$ */ -#include "stdio.h" -#include "cr-parser-input.h" +#include <stdio.h> +#include "cr-input.h" #include "string.h" /** diff --git a/tests/test1-main.c b/tests/test1-main.c index 647cdac..893b5d5 100644 --- a/tests/test1-main.c +++ b/tests/test1-main.c @@ -24,8 +24,8 @@ *$Id$ */ -#include "stdio.h" -#include "cr-parser-input.h" +#include <stdio.h> +#include "cr-input.h" #include "string.h" /** diff --git a/tests/testctl b/tests/testctl index ff78c33..96a541b 100755 --- a/tests/testctl +++ b/tests/testctl @@ -194,7 +194,7 @@ cleanup_tests () run_test_report () { - diff -Nur --exclude=*CVS* --exclude=*cvs* $HERE/$TEST_OUT_REF_DIR $HERE/$TEST_OUTPUT_DIR > /tmp/toto$$ + diff -ur --exclude=*CVS* --exclude=*cvs* --exclude=Makefile* $HERE/$TEST_OUT_REF_DIR $HERE/$TEST_OUTPUT_DIR > /tmp/toto$$ NB_DIFF=`cat /tmp/toto$$ | wc -l` if test "$NB_DIFF" -eq 0 ; then |