diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-10-22 09:46:13 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-10-22 09:46:13 +0000 |
commit | 89cad536e3e38002bfc931acfa2e0645d4b08a51 (patch) | |
tree | 968ac11e7679f2b253e84a3c1d5c61cfe80afb09 /Makefile.am | |
parent | 0a702dcab334c3cb9b702d8f59d79d8f00bc18df (diff) | |
download | android_external_libxml2-89cad536e3e38002bfc931acfa2e0645d4b08a51.tar.gz android_external_libxml2-89cad536e3e38002bfc931acfa2e0645d4b08a51.tar.bz2 android_external_libxml2-89cad536e3e38002bfc931acfa2e0645d4b08a51.zip |
added entities testing to the Thread test make the test reasonable fix the
* test/threads/*: added entities testing to the Thread test
* testThreads.c: make the test reasonable
* DOCBparser.c: fix the DTD public and system ID
* xmllint.c: added --sgml for SGML DocBook importing
* Makefile.am: added Docbtests target
Daniel
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index c87ca993..36dcce5d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,5 @@ ## Process this file with automake to produce Makefile.in -# Dependancies are fucked in make distcheck could not find why :-( -AUTOMAKE_OPTIONS=no-dependencies - SUBDIRS = include . doc example INCLUDES = -I@srcdir@/include -I$(top_builddir)/include @THREAD_CFLAGS@ @Z_CFLAGS@ @@ -226,6 +223,26 @@ XMLtests : xmllint rm result.$$name result2.$$name ; \ fi ; fi ; done) +Docbtests : xmllint + @(echo > .memdump) + @echo "##" + @echo "## SGML DocBook regression tests" + @echo "##" + @(for i in $(srcdir)/test/DocBook/*.sgm ; do \ + name=`basename $$i .sgm`; \ + if [ ! -d $$i ] ; then \ + if [ ! -f $(srcdir)/result/DocBook/$$name.xml ] ; then \ + echo New test file $$name ; \ + $(top_builddir)/xmllint --sgml $$i > $(srcdir)/result/DocBook/$$name.xml ; \ + $(top_builddir)/xmllint --valid --noout $(srcdir)/result/DocBook/$$name.xml ; \ + else \ + echo Testing $$name ; \ + $(top_builddir)/xmllint --sgml $$i > result.$$name ; \ + diff $(srcdir)/result/DocBook/$$name.xml result.$$name ; \ + $(top_builddir)/xmllint --valid --noout result.$$name ; \ + rm result.$$name ; \ + fi ; fi ; done) + XMLenttests : xmllint @(echo > .memdump) @echo "##" |