Update of /cvsroot/flexml/flexml/testbed
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv24077
Modified Files:
Makefile
Log Message:
Add test of dtd w/ mixed content plus a string attribute.
Index: Makefile
===================================================================
RCS file: /cvsroot/flexml/flexml/testbed/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile 21 Aug 2006 16:09:32 -0000 1.1
+++ Makefile 21 Aug 2006 18:22:40 -0000 1.2
@@ -39,11 +39,12 @@
# test definitions -- add new tests here
#####################################################
-EXES = mixed1
+EXES = mixed1 mixed-stratt
INTERMEDIATES = $(EXES) $(EXES:%=%.c) $(EXES:%=%.l)
UNIT_TESTS = \
- test_mixed1
+ test_mixed1 \
+ test_mixed-stratt
test : $(UNIT_TESTS)
@@ -52,6 +53,10 @@
test_mixed1_cmd = ./mixed1 < mixed1.in
test_mixed1_deps = mixed1 mixed1.in
+# Test mixed-stratt (mixed content + string attribute)
+test_mixed-stratt_cmd = ./mixed-stratt < mixed-stratt.in
+test_mixed-stratt_deps = mixed-stratt mixed-stratt.in
+
#####################################################
# test build rules -- add new build rules here
#####################################################
@@ -62,6 +67,11 @@
$(FLEX) -s -L -t mixed1.l > mixed1.c
$(CC) $(CFLAGS) -o $@ mixed1.c
+mixed-stratt: mixed-stratt.dtd mixed-stratt.act
+ $(FLEXML) -b 1000 -A -amixed-stratt.act mixed-stratt.dtd
+ $(FLEX) -s -L -t mixed-stratt.l > mixed-stratt.c
+ $(CC) $(CFLAGS) -o $@ mixed-stratt.c
+
#####################################################
# test infrastructure -- do not modify for new tests
|