summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@src.gnome.org>2003-03-29 15:05:36 +0000
committerDodji Seketeli <dodji@src.gnome.org>2003-03-29 15:05:36 +0000
commit0d5d4e57a3b091909b11a8a5a8fbb85236ac94c2 (patch)
tree6032828c163c19ba79035228545b8a310602c75b /tests
parentdf526da09c8a5faf05101e438b84d5061cb4a091 (diff)
downloadlibcroco-0d5d4e57a3b091909b11a8a5a8fbb85236ac94c2.tar.gz
more code on the layout/cascade front.
some fixes/improvements on the build system front. Dodji.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am16
-rw-r--r--tests/test5-main.c2
2 files changed, 13 insertions, 5 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index bab2490..bb1d205 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,8 +1,15 @@
-if HAVE_TESTS
+if HAVE_TESTS
-noinst_PROGRAMS=test0 test1 test2 test3 test4 test5 test6
+if HAVE_SELENG
+SELENG_TESTS = test5
+endif
+
+CORE_TESTS=test0 test1 test2 test3 test4 test6
+
+PRGS = $(CORE_TESTS) $(SELENG_TESTS)
-test0_SOURCES=test0-main.c
+noinst_PROGRAMS=$(PRGS)
+test0_SOURCES=test0-main.c
test1_SOURCES=test1-main.c
test2_SOURCES=test2-main.c cr-test-utils.c cr-test-utils.h
test3_SOURCES=test3-main.c cr-test-utils.c cr-test-utils.h
@@ -10,7 +17,6 @@ test4_SOURCES=test4-main.c cr-test-utils.c cr-test-utils.h
test5_SOURCES=test5-main.c cr-test-utils.c cr-test-utils.h
test6_SOURCES=test6-main.c cr-test-utils.c cr-test-utils.h
-endif
LDADD=$(top_srcdir)/src/libcroco.la
@@ -21,3 +27,5 @@ INCLUDES=-I$(top_srcdir)/intl \
LDFLAGS=`pkg-config --libs glib-2.0` @LIBXML2_LIBS@
AM_CFLAGS=-Wall -I. @LIBXML2_CFLAGS@
+
+endif \ No newline at end of file
diff --git a/tests/test5-main.c b/tests/test5-main.c
index 14e55cf..c8e0a69 100644
--- a/tests/test5-main.c
+++ b/tests/test5-main.c
@@ -111,7 +111,7 @@ walk_xml_tree_and_lookup_rules (CRSelEng *a_sel_eng,
for (cur_node = a_node ;cur_node ; cur_node = cur_node->next)
{
- status = cr_sel_eng_sel_get_matched_rulesets
+ status = cr_sel_eng_get_matched_rulesets
(a_sel_eng, a_sheet,
cur_node, &stmts_tab, &tab_len) ;