summaryrefslogtreecommitdiff
path: root/tests/documents
diff options
context:
space:
mode:
authorPetr Sumbera <petr.sumbera@oracle.com>2012-10-25 21:44:25 +0800
committerDaniel Veillard <veillard@redhat.com>2012-10-25 21:44:25 +0800
commitc159f4e6f19ffb32d89e4b3e094fd27a2f82b9ac (patch)
tree98e3878e4244cc64e66200abc1da626f4a5a2f1f /tests/documents
parentd3f33318a2ea52a24c600cb34b6f7046911d3e4b (diff)
downloadlibxslt-c159f4e6f19ffb32d89e4b3e094fd27a2f82b9ac.tar.gz
libxslt-c159f4e6f19ffb32d89e4b3e094fd27a2f82b9ac.tar.bz2
libxslt-c159f4e6f19ffb32d89e4b3e094fd27a2f82b9ac.zip
Cleanup libxslt test run outside of srcdir
When I configure/build libxslt outside of sources and then run libxslt tests there are some false positives related to using absolute path instead of relative.
Diffstat (limited to 'tests/documents')
-rw-r--r--tests/documents/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/documents/Makefile.am b/tests/documents/Makefile.am
index 6cd98a08..173d7d9c 100644
--- a/tests/documents/Makefile.am
+++ b/tests/documents/Makefile.am
@@ -27,6 +27,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true;\
rm -f result)
@($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/test.xsl $(srcdir)/test_bad.xml > result 2>err ; \
+ sed 's|$(srcdir)/||' err > err.tmp; mv err.tmp err; \
diff $(srcdir)/test_bad.result result; \
diff $(srcdir)/test_bad.err err; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true;\