summaryrefslogtreecommitdiff
path: root/tests/docbook
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2017-10-17 14:50:30 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2017-10-17 14:50:42 +0900
commit2fc5ced0b429ea2b81ded947cfcb85d98112ad87 (patch)
treeb3a8e0ec8a3f8ac57adf89b7edf453ddaca8fb7a /tests/docbook
parenteffb43a066e70763fa89eb7142b7cb7b428694ad (diff)
downloadlibxslt-2fc5ced0b429ea2b81ded947cfcb85d98112ad87.tar.gz
libxslt-2fc5ced0b429ea2b81ded947cfcb85d98112ad87.tar.bz2
libxslt-2fc5ced0b429ea2b81ded947cfcb85d98112ad87.zip
Imported Upstream version 1.1.30_rc1upstream/1.1.30_rc1
Change-Id: Ie087e3508369ac612459f31961addc691f2302c1 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'tests/docbook')
-rw-r--r--tests/docbook/Makefile.am17
-rw-r--r--tests/docbook/Makefile.in20
2 files changed, 11 insertions, 26 deletions
diff --git a/tests/docbook/Makefile.am b/tests/docbook/Makefile.am
index 09e7239b..25f09ce9 100644
--- a/tests/docbook/Makefile.am
+++ b/tests/docbook/Makefile.am
@@ -1,9 +1,8 @@
## Process this file with automake to produce Makefile.in
tests:
- @echo '## Running docbook tests'
- $(MAKE) single
- $(MAKE) xtchunk
+ @$(MAKE) single
+ @$(MAKE) xtchunk
valgrind:
@echo '## Running the regression tests under Valgrind'
@@ -22,12 +21,12 @@ full: tests htmltests xhtmltests fotests
# a single tests to check that stuff ain't broken
#
single:
+ @echo '## Running single docbook tests'
@$(MKDIR_P) result/html
@$(MKDIR_P) result/fo
@$(MKDIR_P) result/xhtml
@(echo > .memdump)
@(for i in $(srcdir)/test/gdp-handbook.xml ; do \
- echo -n "`basename $$i` : html " ; \
out=result/html/`basename $$i .xml`.tst; \
html=result/html/`basename $$i .xml`.html; \
log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc --nonet \
@@ -42,12 +41,10 @@ single:
fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` ; \
if [ -n "$$log" ] ; then \
- echo ; \
echo result ; \
echo "$$log" ; \
fi ; \
rm -f $$out ; \
- echo -n "fo " ; \
out=result/fo/`basename $$i .xml`.tst; \
fo=result/fo/`basename $$i .xml`.fo; \
msg=result/fo/`basename $$i .xml`.msg; \
@@ -63,12 +60,10 @@ single:
fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` ; \
if [ -n "$$log" ] ; then \
- echo ; \
echo result ; \
echo "$$log" ; \
fi ; \
rm -f $$out $$msg ; \
- echo -n "xhtml " ; \
out=result/xhtml/`basename $$i .xml`.tst; \
xhtml=result/xhtml/`basename $$i .xml`.xhtml; \
log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc --nonet \
@@ -83,19 +78,17 @@ single:
fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` ; \
if [ -n "$$log" ] ; then \
- echo ; \
echo result ; \
echo "$$log" ; \
fi ; \
rm -f $$out ; \
done )
- @echo
xtchunk:
+ @echo '## Running xtchunk docbook tests'
@$(MKDIR_P) result/html
@$(MKDIR_P) result/xtchunk
@(echo > .memdump)
- @echo -n html-chunking
@(for i in $(srcdir)/test/gdp-handbook.xml ; do \
base=`basename $$i .xml` ; \
html=result/html/$$base.html; \
@@ -121,13 +114,11 @@ xtchunk:
done ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` ; \
if [ -n "$$log" ] ; then \
- echo ; \
echo result ; \
echo "$$log" ; \
fi ; \
rm -f result/xtchunk/html/gdp-handbook ; \
done )
- @echo
#
# The full set of tests
diff --git a/tests/docbook/Makefile.in b/tests/docbook/Makefile.in
index 7047918d..4ac3c3db 100644
--- a/tests/docbook/Makefile.in
+++ b/tests/docbook/Makefile.in
@@ -209,6 +209,9 @@ PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
PYTHON = @PYTHON@
PYTHONSODV = @PYTHONSODV@
PYTHON_INCLUDES = @PYTHON_INCLUDES@
@@ -496,9 +499,8 @@ uninstall-am:
tests:
- @echo '## Running docbook tests'
- $(MAKE) single
- $(MAKE) xtchunk
+ @$(MAKE) single
+ @$(MAKE) xtchunk
valgrind:
@echo '## Running the regression tests under Valgrind'
@@ -513,12 +515,12 @@ full: tests htmltests xhtmltests fotests
# a single tests to check that stuff ain't broken
#
single:
+ @echo '## Running single docbook tests'
@$(MKDIR_P) result/html
@$(MKDIR_P) result/fo
@$(MKDIR_P) result/xhtml
@(echo > .memdump)
@(for i in $(srcdir)/test/gdp-handbook.xml ; do \
- echo -n "`basename $$i` : html " ; \
out=result/html/`basename $$i .xml`.tst; \
html=result/html/`basename $$i .xml`.html; \
log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc --nonet \
@@ -533,12 +535,10 @@ single:
fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` ; \
if [ -n "$$log" ] ; then \
- echo ; \
echo result ; \
echo "$$log" ; \
fi ; \
rm -f $$out ; \
- echo -n "fo " ; \
out=result/fo/`basename $$i .xml`.tst; \
fo=result/fo/`basename $$i .xml`.fo; \
msg=result/fo/`basename $$i .xml`.msg; \
@@ -554,12 +554,10 @@ single:
fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` ; \
if [ -n "$$log" ] ; then \
- echo ; \
echo result ; \
echo "$$log" ; \
fi ; \
rm -f $$out $$msg ; \
- echo -n "xhtml " ; \
out=result/xhtml/`basename $$i .xml`.tst; \
xhtml=result/xhtml/`basename $$i .xml`.xhtml; \
log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc --nonet \
@@ -574,19 +572,17 @@ single:
fi ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` ; \
if [ -n "$$log" ] ; then \
- echo ; \
echo result ; \
echo "$$log" ; \
fi ; \
rm -f $$out ; \
done )
- @echo
xtchunk:
+ @echo '## Running xtchunk docbook tests'
@$(MKDIR_P) result/html
@$(MKDIR_P) result/xtchunk
@(echo > .memdump)
- @echo -n html-chunking
@(for i in $(srcdir)/test/gdp-handbook.xml ; do \
base=`basename $$i .xml` ; \
html=result/html/$$base.html; \
@@ -612,13 +608,11 @@ xtchunk:
done ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true` ; \
if [ -n "$$log" ] ; then \
- echo ; \
echo result ; \
echo "$$log" ; \
fi ; \
rm -f result/xtchunk/html/gdp-handbook ; \
done )
- @echo
#
# The full set of tests