summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@gnome.org>2003-12-11 13:45:42 +0000
committerDodji Seketeli <dodji@src.gnome.org>2003-12-11 13:45:42 +0000
commitf1f8ac3f1a3cb2f65a531ceabc4aec8ff5fc5359 (patch)
tree884c876ac98d19558191c4e38981d3e0bb52ef6d /tests
parentbfc0cf3deb2be5ef8d44715afac960bbe61d0ba3 (diff)
downloadlibcroco-f1f8ac3f1a3cb2f65a531ceabc4aec8ff5fc5359.tar.gz
big cleanup here. make sure seleng, layeng and tests are disabled by
2003-12-11 Dodji Seketeli <dodji@gnome.org> * Makefile.am: big cleanup here. * configure.in: make sure seleng, layeng and tests are disabled by default. Added makefiles in docs/ docs/example tests/ tests/test-inputs tests/test-output-refs * csslint/Makefile.am: cleaned this up. make sure to add seleng,layeng and glib compile flags whenever needed. * docs/Makefile.am,docs/examples/Makefile.am: new makefiles. * src/libcroco.h: removed references to cr-parser-input.h * src/layeng/Makefile.am: cleanup, make distcheck is happier. * src/parser/Makefile.am: cleanup, make distcheck is happier. * src/parser/cr-doc-handler.h: removed reference to cr-parser-input.h * src/parser/cr-layout-eng.h,src/parser/cr-parser-input.h: removed these. * src/parser/cr-parser.c: (cr_parser_new): fixed a typo here. * src/parser/cr-parser.h,src/parser/cr-tknzr.h: removed ref to cr-parser-input.h * src/seleng/Makefile.am: cleanup, make distcheck is happier. * tests/testctl: exclude makefiles when diffing outputs and re * outputs.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/test-inputs/Makefile.am11
-rw-r--r--tests/test-output-refs/Makefile.am13
-rw-r--r--tests/test0-main.c4
-rw-r--r--tests/test1-main.c4
-rwxr-xr-xtests/testctl2
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