aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorDaniel Richard G <oss@teragram.com>2012-08-07 10:05:34 +0800
committerDaniel Veillard <veillard@redhat.com>2012-08-07 10:05:34 +0800
commit5d6c02ba6149fcf3046b2c34d9da9f895686a251 (patch)
tree10651b3fe6eae7847bc7e821499d662713acb006 /python
parent5706b6d8767e3c3f2e5b277b54e1af68035bc111 (diff)
downloadandroid_external_libxml2-5d6c02ba6149fcf3046b2c34d9da9f895686a251.tar.gz
android_external_libxml2-5d6c02ba6149fcf3046b2c34d9da9f895686a251.tar.bz2
android_external_libxml2-5d6c02ba6149fcf3046b2c34d9da9f895686a251.zip
Various "make distcheck" and portability fixups 2nd part
doc/examples/Makefile.am: * Use $(VAR), not @VAR@ * Use $(MKDIR_P) instead of $(mkinstalldirs), as the latter is an * obsolete name * Added $(srcdir) qualification to the various test program invocations * in the "tests" target. More work is needed here (notably, when the reference output contains the path to the input file), but this gets things a lot closer to working correctly in an out-of-source build. doc/examples/reader4.res: * Added "./" path qualifiers so that the reader4 test continues to pass cleanly for in-source builds python/tests/Makefile.am: * Symlink in test input files for out-of-source builds
Diffstat (limited to 'python')
-rw-r--r--python/tests/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/tests/Makefile.am b/python/tests/Makefile.am
index ca72fdda..ab079bbe 100644
--- a/python/tests/Makefile.am
+++ b/python/tests/Makefile.am
@@ -59,6 +59,7 @@ CLEANFILES = core tmp.xml *.pyc
if WITH_PYTHON
tests: $(PYTESTS)
+ @for f in $(XMLS) ; do test -f $$f || $(LN_S) $(srcdir)/$$f . ; done
@echo "## running Python regression tests"
-@(PYTHONPATH="..:../.libs:$(srcdir)/..:$$PYTHONPATH" ; \
export PYTHONPATH; \