Lines Matching full:srcdir
9 AM_CPPFLAGS = -I$(top_builddir)/include -I$(srcdir)/include
26 LIBXML2_VERSION_SCRIPT = $(VERSION_SCRIPT_FLAGS)$(srcdir)/libxml2.syms
180 $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
184 testapi.c: $(srcdir)/gentest.py
186 $(PYTHON) $(srcdir)/gentest.py $(srcdir) ; fi )
206 [ -d test ] || $(LN_S) $(srcdir)/test .
207 [ -d result ] || $(LN_S) $(srcdir)/result .
233 -@(for i in $(srcdir)/test/HTML/* ; do \
236 if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
238 $(CHECKER) $(top_builddir)/testHTML $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \
242 diff $(srcdir)/result/HTML/$$name result.$$name ; \
243 diff -b $(srcdir)/result/HTML/$$name.err error.$$name ; \
252 -@(for i in $(srcdir)/test/HTML/* ; do \
255 if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
257 $(CHECKER) $(top_builddir)/testHTML --push $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \
261 diff $(srcdir)/result/HTML/$$name result.$$name ; \
262 cut -b 1-15 $(srcdir)/result/HTML/$$name.err > errorcut.$$name; \
271 -@(for i in $(srcdir)/test/HTML/* ; do \
274 if [ ! -f $(srcdir)/result/HTML/$$name.sax ] ; then \
276 $(CHECKER) $(top_builddir)/testHTML --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
280 diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax` ; \
285 -@(for i in $(srcdir)/test/HTML/* ; do \
288 if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
290 $(CHECKER) $(top_builddir)/testHTML --push --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
294 diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax` ; \
302 -@(for i in $(srcdir)/test/* ; do \
305 if [ ! -f $(srcdir)/result/$$name ] ; then \
307 $(CHECKER) $(top_builddir)/xmllint $$i > $(srcdir)/result/$$name ; \
312 diff $(srcdir)/result/$$name result.$$name ; \
320 -@(for i in $(srcdir)/test/* ; do \
323 if [ ! -f $(srcdir)/result/$$name ] ; then \
325 $(CHECKER) $(top_builddir)/xmllint --memory $$i > $(srcdir)/result/$$name ; \
330 diff $(srcdir)/result/$$name result.$$name ; \
341 -@(for i in $(srcdir)/test/* ; do \
344 if [ ! -f $(srcdir)/result/$$name ] ; then \
346 $(CHECKER) $(top_builddir)/xmllint --push $$i > $(srcdir)/result/$$name ; \
351 diff $(srcdir)/result/$$name result.$$name ; \
362 -@(for i in $(srcdir)/test/namespaces/* ; do \
365 if [ ! -f $(srcdir)/result/namespaces/$$name ] ; then \
368 2> $(srcdir)/result/namespaces/$$name.err \
369 > $(srcdir)/result/namespaces/$$name ; \
374 diff $(srcdir)/result/namespaces/$$name result.$$name ; \
375 diff $(srcdir)/result/namespaces/$$name.err error.$$name`; \
383 -@(for i in $(srcdir)/test/xmlid/id_*.xml ; do \
386 if [ ! -f $(srcdir)/result/xmlid/$$name ] ; then \
389 2> $(srcdir)/result/xmlid/$$name.err \
390 > $(srcdir)/result/xmlid/$$name ; \
395 diff $(srcdir)/result/xmlid/$$name result.$$name ; \
396 diff $(srcdir)/result/xmlid/$$name.err error.$$name` ; \
404 -@(for i in $(srcdir)/test/errors/*.xml ; do \
407 if [ ! -f $(srcdir)/result/errors/$$name ] ; then \
410 2> $(srcdir)/result/errors/$$name.err \
411 > $(srcdir)/result/errors/$$name ; \
416 diff $(srcdir)/result/errors/$$name result.$$name ; \
417 diff $(srcdir)/result/errors/$$name.err error.$$name` ; \
422 -@(for i in $(srcdir)/test/errors/*.xml ; do \
425 if [ ! -f $(srcdir)/result/errors/$$name.str ] ; then \
428 2> $(srcdir)/result/errors/$$name.str \
434 diff $(srcdir)/result/errors/$$name.str error.$$name` ; \
444 -@(for i in $(srcdir)/test/* ; do \
447 if [ ! -f $(srcdir)/result/noent/$$name ] ; then \
449 $(CHECKER) $(top_builddir)/xmllint --noent $$i > $(srcdir)/result/noent/$$name ; \
454 diff $(srcdir)/result/noent/$$name result.$$name ; \
465 -@(for i in $(srcdir)/test/URI/*.data ; do \
468 if [ ! -f $(srcdir)/result/URI/$$name ] ; then \
470 $(CHECKER) $(top_builddir)/testURI -base 'http://foo.com/path/to/index.html?orig#help' < $$i > $(srcdir)/result/URI/$$name ; \
475 diff $(srcdir)/result/URI/$$name result.$$name` ; \
479 -@(for i in $(srcdir)/test/URI/*.uri ; do \
482 if [ ! -f $(srcdir)/result/URI/$$name ] ; then \
484 $(CHECKER) $(top_builddir)/testURI < $$i > $(srcdir)/result/URI/$$name ; \
489 diff $(srcdir)/result/URI/$$name result.$$name` ; \
499 for i in $(srcdir)/test/XPath/expr/* ; do \
502 if [ ! -f $(srcdir)/result/XPath/expr/$$name ] ; then \
504 $(CHECKER) $(top_builddir)/testXPath -f --expr $$i > $(srcdir)/result/XPath/expr/$$name ; \
509 diff $(srcdir)/result/XPath/expr/$$name result.$$name` ; \
513 for i in $(srcdir)/test/XPath/docs/* ; do \
516 for j in $(srcdir)/test/XPath/tests/$$doc* ; do \
520 if [ ! -f $(srcdir)/result/XPath/tests/$$name ] ; then \
522 $(CHECKER) $(top_builddir)/testXPath -f -i $$i $$j > $(srcdir)/result/XPath/tests/$$name ; \
527 diff $(srcdir)/result/XPath/tests/$$name result.$$name` ; \
537 for i in $(srcdir)/test/XPath/docs/* ; do \
540 for j in $(srcdir)/test/XPath/xptr/$$doc* ; do \
544 if [ ! -f $(srcdir)/result/XPath/xptr/$$name ] ; then \
546 $(CHECKER) $(top_builddir)/testXPath -xptr -f -i $$i $$j > $(srcdir)/result/XPath/xptr/$$name ; \
551 diff $(srcdir)/result/XPath/xptr/$$name result.$$name` ; \
559 -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
562 if [ ! -f $(srcdir)/result/XInclude/$$name ] ; then \
564 $(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude $$i > $(srcdir)/result/XInclude/$$name 2> $(srcdir)/result/XInclude/$$name.err ; \
569 diff $(srcdir)/result/XInclude/$$name result.$$name ; \
570 diff $(srcdir)/result/XInclude/$$name.err error.$$name` ; \
574 -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
577 if [ ! -f $(srcdir)/result/XInclude/$$name ] ; then \
579 $(CHECKER) $(top_builddir)/xmllint --nowarning --noxincludenode $$i > $(srcdir)/result/XInclude/$$name 2> $(srcdir)/result/XInclude/$$name.err ; \
584 diff $(srcdir)/result/XInclude/$$name result.$$name ; \
585 diff $(srcdir)/result/XInclude/$$name.err error.$$name` ; \
591 -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
594 if [ ! -f $(srcdir)/result/XInclude/$$name.rdr ] ; then \
596 $(CHECKER) $(top_builddir)/xmllint --nowarning --xinclude --stream --debug $$i > $(srcdir)/result/XInclude/$$name.rdr ; \
601 diff $(srcdir)/result/XInclude/$$name.err error.$$name ; \
602 diff $(srcdir)/result/XInclude/$$name.rdr result.$$name` ; \
606 -@(for i in $(srcdir)/test/XInclude/docs/* ; do \
609 if [ ! -f $(srcdir)/result/XInclude/$$name.rdr ] ; then \
611 $(CHECKER) $(top_builddir)/xmllint --nowarning --noxincludenode --stream --debug $$i > $(srcdir)/result/XInclude/$$name.rdr ; \
616 diff $(srcdir)/result/XInclude/$$name.err error.$$name ; \
617 diff $(srcdir)/result/XInclude/$$name.rdr result.$$name` ; \
625 @echo "## Some of the base computations may be different if srcdir != ."
626 -@(for i in $(srcdir)/test/scripts/*.script ; do \
628 xml=$(srcdir)/test/scripts/`basename $$i .script`.xml; \
630 if [ ! -f $(srcdir)/result/scripts/$$name ] ; then \
632 $(CHECKER) $(top_builddir)/xmllint --shell $$xml < $$i > $(srcdir)/result/scripts/$$name 2> $(srcdir)/result/scripts/$$name.err ; \
637 diff $(srcdir)/result/scripts/$$name result.$$name ; \
638 diff $(srcdir)/result/scripts/$$name.err result.$$name.err` ; \
646 -@(for i in $(srcdir)/test/catalogs/*.script ; do \
648 xml=$(srcdir)/test/catalogs/`basename $$i .script`.xml; \
650 if [ ! -f $(srcdir)/result/catalogs/$$name ] ; then \
652 $(CHECKER) $(top_builddir)/xmlcatalog --shell $$xml < $$i 2>&1 > $(srcdir)/result/catalogs/$$name ; \
657 diff $(srcdir)/result/catalogs/$$name result.$$name` ; \
661 -@(for i in $(srcdir)/test/catalogs/*.script ; do \
663 sgml=$(srcdir)/test/catalogs/`basename $$i .script`.sgml; \
665 if [ ! -f $(srcdir)/result/catalogs/$$name ] ; then \
667 $(CHECKER) $(top_builddir)/xmlcatalog --shell $$sgml < $$i > $(srcdir)/result/catalogs/$$name ; \
672 diff $(srcdir)/result/catalogs/$$name result.$$name` ; \
677 -@($(CHECKER) $(top_builddir)/xmlcatalog --create --noout $(srcdir)/result/catalogs/mycatalog; \
679 $(CHECKER) $(top_builddir)/xmlcatalog --noout --add public Pubid sysid $(srcdir)/result/catalogs/mycatalog; \
681 $(CHECKER) $(top_builddir)/xmlcatalog --noout --add public Pubid2 sysid2 $(srcdir)/result/catalogs/mycatalog; \
683 $(CHECKER) $(top_builddir)/xmlcatalog --noout --add public Pubid3 sysid3 $(srcdir)/result/catalogs/mycatalog; \
685 diff result/catalogs/mycatalog.full $(srcdir)/result/catalogs/mycatalog; \
687 $(CHECKER) $(top_builddir)/xmlcatalog --noout --del sysid $(srcdir)/result/catalogs/mycatalog; \
689 $(CHECKER) $(top_builddir)/xmlcatalog --noout --del sysid3 $(srcdir)/result/catalogs/mycatalog; \
691 $(CHECKER) $(top_builddir)/xmlcatalog --noout --del sysid2 $(srcdir)/result/catalogs/mycatalog; \
693 diff result/catalogs/mycatalog.empty $(srcdir)/result/catalogs/mycatalog; \
695 rm -f $(srcdir)/result/catalogs/mycatalog)
699 -@(for i in $(srcdir)/test/SVG/* ; do \
702 if [ ! -f $(srcdir)/result/SVG/$$name ] ; then \
704 $(CHECKER) $(top_builddir)/xmllint $$i > $(srcdir)/result/SVG/$$name ; \
710 diff $(srcdir)/result/SVG/$$name result.$$name ; \
726 -@(for i in $(srcdir)/test/* ; do \
729 if [ ! -f $(srcdir)/result/$$name.rdr ] ; then \
731 $(CHECKER) $(top_builddir)/xmllint --nonet --debug --stream $$i > $(srcdir)/result/$$name.rdr 2>/dev/null ; \
736 diff $(srcdir)/result/$$name.rdr result.$$name` ; \
741 -@(for i in $(srcdir)/test/* ; do \
744 if [ ! -f $(srcdir)/result/$$name.rdr ] ; then \
746 $(CHECKER) $(top_builddir)/xmllint --memory --nonet --debug --stream $$i > $(srcdir)/result/$$name.rdr 2>/dev/null ; \
751 diff $(srcdir)/result/$$name.rdr result.$$name` ; \
757 -@(for i in $(srcdir)/test/* ; do \
760 if [ ! -f $(srcdir)/result/$$name.rdr ] ; then \
762 $(CHECKER) $(top_builddir)/xmllint --nonet --debug --walker $$i > $(srcdir)/result/$$name.rdr 2>/dev/null ; \
767 diff $(srcdir)/result/$$name.rdr result.$$name` ; \
772 -@(for i in $(srcdir)/test/* ; do \
775 if [ ! -f $(srcdir)/result/$$name.rde ] ; then \
777 $(CHECKER) $(top_builddir)/xmllint --noent --nonet --debug --stream $$i > $(srcdir)/result/$$name.rde 2>/dev/null ; \
782 diff $(srcdir)/result/$$name.rde result.$$name` ; \
790 -@(for i in $(srcdir)/test/* ; do \
793 if [ ! -f $(srcdir)/result/$$name.sax ] ; then \
795 $(CHECKER) $(top_builddir)/testSAX $$i > $(srcdir)/result/$$name.sax 2> /dev/null ; \
800 diff $(srcdir)/result/$$name.sax result.$$name` ; \
805 -@(for i in $(srcdir)/test/* ; do \
808 if [ ! -f $(srcdir)/result/$$name.sax2 ] ; then \
810 $(CHECKER) $(top_builddir)/testSAX --sax2 $$i > $(srcdir)/result/$$name.sax2 2> /dev/null ; \
815 diff $(srcdir)/result/$$name.sax2 result.$$name` ; \
823 -@(for i in $(srcdir)/test/VCM/* ; do \
831 -@(for i in $(srcdir)/test/VC/* ; do \
834 if [ ! -f $(srcdir)/result/VC/$$name ] ; then \
836 $(CHECKER) $(top_builddir)/xmllint --noout --valid $$i 2> $(srcdir)/result/VC/$$name ; \
841 diff $(srcdir)/result/VC/$$name result.$$name` ; \
846 -@(for i in $(srcdir)/test/valid/* ; do \
849 if [ ! -f $(srcdir)/result/valid/$$name ] ; then \
851 $(CHECKER) $(top_builddir)/xmllint --valid $$i > $(srcdir)/result/valid/$$name 2>$(srcdir)/result/valid/$$name.err ; \
856 diff $(srcdir)/result/valid/$$name result.$$name ; \
857 diff $(srcdir)/result/valid/$$name.err error.$$name` ; \
865 -@(for i in $(srcdir)/test/regexp/* ; do \
868 if [ ! -f $(srcdir)/result/regexp/$$name ] ; then \
870 $(CHECKER) $(top_builddir)/testRegexp -i $$i > $(srcdir)/result/regexp/$$name; \
875 diff $(srcdir)/result/regexp/$$name result.$$name` ; \
880 -@(for i in $(srcdir)/test/expr/* ; do \
883 if [ ! -f $(srcdir)/result/expr/$$name ] ; then \
885 $(CHECKER) $(top_builddir)/testRegexp --expr -i $$i > $(srcdir)/result/expr/$$name; \
890 diff $(srcdir)/result/expr/$$name result.$$name` ; \
898 -@(for i in $(srcdir)/test/automata/* ; do \
901 if [ ! -f $(srcdir)/result/automata/$$name ] ; then \
903 $(CHECKER) $(top_builddir)/testAutomata $$i > $(srcdir)/result/automata/$$name; \
908 diff $(srcdir)/result/automata/$$name result.$$name` ; \
934 -@($(top_builddir)/xmllint --noout --timing --repeat $(srcdir)/test/valid/REC-xml-19980210.xml; \
941 -@($(top_builddir)/xmllint --noout --timing --valid --repeat $(srcdir)/test/valid/REC-xml-19980210.xml; \
950 for i in $(srcdir)/test/c14n/$$m/*.xml ; do \
954 if [ -f $(srcdir)/test/c14n/$$m/$$name.xpath ] ; then \
955 cmdline="$$cmdline $(srcdir)/test/c14n/$$m/$$name.xpath"; \
956 if [ -f $(srcdir)/test/c14n/$$m/$$name.ns ] ; then \
957 cmdline="$$cmdline '`cat $(srcdir)/test/c14n/$$m/$$name.ns`'"; \
960 $$cmdline > $(srcdir)/test/c14n/test.tmp; \
962 diff $(srcdir)/result/c14n/$$m/$$name $(srcdir)/test/c14n/test.tmp; \
965 cat $(srcdir)/test/c14n/test.tmp; \
972 rm -f $(srcdir)/test/c14n/test.tmp; \
979 -@(for i in $(srcdir)/test/schemas/*_*.xsd ; do \
982 for j in $(srcdir)/test/schemas/"$$name"_*.xml ; do \
985 if [ ! -f $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" ]; \
989 > $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" \
990 2> $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno".err; \
996 diff $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno" \
998 diff $(srcdir)/result/schemas/"$$name"_"$$sno"_"$$xno".err \
1009 -@(for i in $(srcdir)/test/relaxng/*.rng ; do \
1011 if [ ! -f $(srcdir)/result/relaxng/"$$name"_valid ] ; then \
1013 $(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $(srcdir)/test/relaxng/tutorA.rng $$i \
1014 > $(srcdir)/result/relaxng/"$$name"_valid \
1015 2> $(srcdir)/result/relaxng/"$$name"_err; \
1018 log=`$(CHECKER) $(top_builddir)/xmllint$(EXEEXT) --noout --relaxng $(srcdir)/test/relaxng/tutorA.rng $$i \
1021 diff $(srcdir)/result/relaxng/"$$name"_valid \
1023 diff $(srcdir)/result/relaxng/"$$name"_err \
1029 for j in $(srcdir)/test/relaxng/"$$name"_*.xml ; do \
1032 if [ ! -f $(srcdir)/result/relaxng/"$$name"_"$$xno" ]; \
1036 > $(srcdir)/result/relaxng/"$$name"_"$$xno" \
1037 2> $(srcdir)/result/relaxng/"$$name"_"$$xno".err; \
1043 diff $(srcdir)/result/relaxng/"$$name"_"$$xno" \
1045 diff $(srcdir)/result/relaxng/"$$name"_"$$xno".err \
1053 -@(for i in $(srcdir)/test/relaxng/*.rng ; do \
1055 for j in $(srcdir)/test/relaxng/"$$name"_*.xml ; do \
1058 if [ ! -f $(srcdir)/result/relaxng/"$$name"_"$$xno" ]; \
1062 > $(srcdir)/result/relaxng/"$$name"_"$$xno" \
1063 2> $(srcdir)/result/relaxng/"$$name"_"$$xno".err; \
1069 diff $(srcdir)/result/relaxng/"$$name"_"$$xno" res.$$name;\
1071 diff $(srcdir)/result/relaxng/"$$name"_"$$xno".err \
1082 -@(for i in $(srcdir)/test/schematron/*.sct ; do \
1084 for j in $(srcdir)/test/schematron/"$$name"_*.xml ; do \
1087 if [ ! -f $(srcdir)/result/schematron/"$$name"_"$$xno" ]; \
1091 > $(srcdir)/result/schematron/"$$name"_"$$xno" \
1092 2> $(srcdir)/result/schematron/"$$name"_"$$xno".err; \
1098 diff $(srcdir)/result/schematron/"$$name"_"$$xno" \
1100 diff $(srcdir)/result/schematron/"$$name"_"$$xno".err \
1115 $(CHECKER) $(PYTHON) $(srcdir)/check-relaxng-test-suite.py ; \
1117 $(CHECKER) $(PYTHON) $(srcdir)/check-relaxng-test-suite2.py ; \
1128 $(CHECKER) $(PYTHON) $(srcdir)/check-xsddata-test-suite.py ; \
1135 -@(for i in $(srcdir)/test/pattern/*.pat ; do \
1137 if [ -f $(srcdir)/test/pattern/$$name.xml ] ; then \
1138 if [ ! -f $(srcdir)/result/pattern/$$name ] ; then \
1142 $(CHECKER) $(top_builddir)/xmllint --walker --pattern $$pat $(srcdir)/test/pattern/$$name.xml >> $(srcdir)/result/pattern/$$name ; \
1148 log=`for pat in $$lst ; do $(CHECKER) $(top_builddir)/xmllint --walker --pattern $$pat $(srcdir)/test/pattern/$$name.xml 2>&1 >> result.$$name ; \
1151 diff $(srcdir)/result/pattern/$$name result.$$name` ; \
1167 (cd $(srcdir) ; tar -cf - --exclude CVS --exclude .svn --exclude .git win32 macos os400 vms VxWorks bakefile test result) | (cd $(distdir); tar xf -)
1174 (cd $(srcdir) ; tar -cf - --exclude CVS --exclude .svn --exclude .git xstc/Tests) | (cd $(distdir); tar xf -)
1185 ## to get the paths expanded correctly. Macros like srcdir are given
1195 < $(srcdir)/xml2Conf.sh.in > xml2Conf.tmp \
1234 -$(INSTALL) -m 0644 $(srcdir)/Copyright $(DESTDIR)$(BASE_DIR)/$(DOC_MODULE)
1236 -$(INSTALL) -m 0644 $(srcdir)/xmllint.c $(DESTDIR)$(EXAMPLES_DIR)
1237 -$(INSTALL) -m 0644 $(srcdir)/testSAX.c $(DESTDIR)$(EXAMPLES_DIR)
1238 -$(INSTALL) -m 0644 $(srcdir)/testHTML.c $(DESTDIR)$(EXAMPLES_DIR)
1239 -$(INSTALL) -m 0644 $(srcdir)/testXPath.c $(DESTDIR)$(EXAMPLES_DIR)