summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorAndrew Sidwell <andy@entai.co.uk>2008-07-07 18:54:14 +0000
committerAndrew Sidwell <andy@entai.co.uk>2008-07-07 18:54:14 +0000
commit3ab390780657abb179c5271dedb3a2731be9c3df (patch)
tree730e8763baf0973781b0f2af797f5492927cab58 /test/Makefile
parent054242c92e79bb60492b4f402762516b013d3123 (diff)
downloadlibhubbub-3ab390780657abb179c5271dedb3a2731be9c3df.tar.gz
libhubbub-3ab390780657abb179c5271dedb3a2731be9c3df.tar.bz2
Add a really basic tree construction test harness. Known problems:
- Doesn't compare expected tree with hubbub's tree -- atm it just checks there are no segfaults - Ungracious handling of #document-fragment tests (since hubbub doesn't support them at present) - Leaks memory because it doesn't use refcounting - Doesn't support dynamic adding of attributes. Also, it shows a crash bug in the treebuilder when run. svn path=/trunk/hubbub/; revision=4529
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 00ca279..97648e4 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -34,13 +34,14 @@ d := $(DIR)
# Extend toolchain settings
# We require the presence of libjson -- http://oss.metaparadigm.com/json-c/
CFLAGS := $(CFLAGS) -I$(TOP)/src/ -I$(d) \
- `$(PKGCONFIG) $(PKGCONFIGFLAGS) --cflags json`
+ `$(PKGCONFIG) $(PKGCONFIGFLAGS) --cflags json` \
+ -Wno-unused-parameter
LDFLAGS := $(LDFLAGS) `$(PKGCONFIG) $(PKGCONFIGFLAGS) --libs json`
# Tests
TESTS_$(d) := aliases cscodec csdetect dict entities filter hubbub \
inputstream parser parser-utf16 tokeniser tokeniser2 tokeniser3 \
- tree
+ tree tree2
TESTS_$(d) := $(TESTS_$(d)) regression/cscodec-segv regression/filter-segv \
regression/stream-nomem