VirtualBox

source: vbox/trunk/src/libs/libxml2-2.6.30/python/tests/Makefile.am@ 28918

Last change on this file since 28918 was 6076, checked in by vboxsync, 17 years ago

Merged dmik/s2 branch (r25959:26751) to the trunk.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Revision Author Id
File size: 1.6 KB
Line 
1EXAMPLE_DIR = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)/examples
2
3PYTESTS= \
4 build.py \
5 attribs.py \
6 tst.py \
7 tstxpath.py \
8 xpathext.py \
9 push.py \
10 pushSAX.py \
11 pushSAXhtml.py \
12 error.py \
13 serialize.py\
14 validate.py \
15 tstURI.py \
16 cutnpaste.py\
17 xpathret.py \
18 xpath.py \
19 outbuf.py \
20 inbuf.py \
21 resolver.py \
22 regexp.py \
23 reader.py \
24 reader2.py \
25 reader3.py \
26 reader4.py \
27 reader5.py \
28 reader6.py \
29 reader7.py \
30 reader8.py \
31 readernext.py \
32 walker.py \
33 nsdel.py \
34 ctxterror.py\
35 readererr.py\
36 relaxng.py \
37 schema.py \
38 thread2.py \
39 sync.py \
40 tstLastError.py \
41 indexes.py \
42 dtdvalid.py \
43 tstmem.py \
44 validDTD.py \
45 validSchemas.py \
46 validRNG.py \
47 compareNodes.py
48
49XMLS= \
50 tst.xml \
51 valid.xml \
52 invalid.xml \
53 test.dtd
54
55EXTRA_DIST = $(PYTESTS) $(XMLS)
56
57if WITH_PYTHON
58tests: $(PYTESTS)
59 @echo "## running Python regression tests"
60 -@(PYTHONPATH="..:../.libs:$(srcdir)/..:$$PYTHONPATH" ; \
61 export PYTHONPATH; \
62 LD_LIBRARY_PATH="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \
63 export LD_LIBRARY_PATH; \
64 for test in $(PYTESTS) ; \
65 do log=`$(PYTHON) $(srcdir)/$$test` ; \
66 if [ "`echo $$log | grep OK`" = "" ] ; then \
67 echo "-- $$test" ; echo "$$log" ; fi ; done)
68else
69tests:
70endif
71
72clean:
73 rm -f *.pyc core
74
75install-data-local:
76 $(mkinstalldirs) $(DESTDIR)$(EXAMPLE_DIR)
77 -(for test in $(PYTESTS) $(XMLS); \
78 do @INSTALL@ -m 0644 $(srcdir)/$$test $(DESTDIR)$(EXAMPLE_DIR) ; done)
79
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette