VirtualBox

source: vbox/trunk/src/libs/libxml2-2.6.31/python/tests/Makefile.am@ 43483

最後變更 在這個檔案從43483是 39915,由 vboxsync 提交於 13 年 前

libxml-2.6.31 unmodified

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.7 KB
 
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
80uninstall-local:
81 @(for test in $(PYTESTS) $(XMLS) ; \
82 do rm $(DESTDIR)$(EXAMPLE_DIR)/`basename $$test` ; done)
83
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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