diff options
author | Mike Hommey <mh@glandium.org> | 2004-03-25 06:59:32 +0000 |
---|---|---|
committer | Mike Hommey <mh@glandium.org> | 2004-03-25 06:59:32 +0000 |
commit | d09ab089457ae3c20cc98f9afa03379c6ebf9598 (patch) | |
tree | f34702d634972abbc1b478a4529149b548a1cd4c /python/tests/Makefile.am | |
download | libxml2-d09ab089457ae3c20cc98f9afa03379c6ebf9598.tar.gz |
[svn-inject] Installing original source versionupstream/2.6.8
Diffstat (limited to 'python/tests/Makefile.am')
-rw-r--r-- | python/tests/Makefile.am | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/python/tests/Makefile.am b/python/tests/Makefile.am new file mode 100644 index 0000000..a07497e --- /dev/null +++ b/python/tests/Makefile.am @@ -0,0 +1,60 @@ +EXAMPLE_DIR = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)/examples + +PYTESTS= \ + build.py \ + attribs.py \ + tst.py \ + tstxpath.py \ + xpathext.py \ + push.py \ + pushSAX.py \ + pushSAXhtml.py \ + error.py \ + serialize.py\ + validate.py \ + tstURI.py \ + cutnpaste.py\ + xpathret.py \ + xpath.py \ + outbuf.py \ + inbuf.py \ + resolver.py \ + regexp.py \ + reader.py \ + reader2.py \ + reader3.py \ + reader4.py \ + reader5.py \ + reader6.py \ + reader7.py \ + walker.py \ + ctxterror.py\ + readererr.py\ + relaxng.py \ + thread2.py \ + tstLastError.py \ + indexes.py + +XMLS= \ + tst.xml \ + valid.xml \ + invalid.xml + +EXTRA_DIST = $(PYTESTS) $(XMLS) + +if WITH_PYTHON +tests: $(PYTESTS) + -@(PYTHONPATH="..:../.libs:$(srcdir)/.." ; export PYTHONPATH; \ + for test in $(PYTESTS) ; do echo "-- $$test" ; $(PYTHON) $(srcdir)/$$test ; done) +else +tests: +endif + +clean: + rm -f *.pyc core + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(EXAMPLE_DIR) + -(for test in $(PYTESTS) $(XMLS); \ + do @INSTALL@ -m 0644 $(srcdir)/$$test $(DESTDIR)$(EXAMPLE_DIR) ; done) + |