| 1 |
PYTESTS= \ |
| 2 |
build.py \ |
| 3 |
attribs.py \ |
| 4 |
tst.py \ |
| 5 |
tstxpath.py \ |
| 6 |
xpathext.py \ |
| 7 |
push.py \ |
| 8 |
pushSAX.py \ |
| 9 |
pushSAXhtml.py \ |
| 10 |
error.py \ |
| 11 |
serialize.py\ |
| 12 |
validate.py \ |
| 13 |
tstURI.py \ |
| 14 |
cutnpaste.py\ |
| 15 |
xpathret.py \ |
| 16 |
xpath.py \ |
| 17 |
outbuf.py \ |
| 18 |
inbuf.py \ |
| 19 |
input_callback.py \ |
| 20 |
resolver.py \ |
| 21 |
regexp.py \ |
| 22 |
reader.py \ |
| 23 |
reader2.py \ |
| 24 |
reader3.py \ |
| 25 |
reader4.py \ |
| 26 |
reader5.py \ |
| 27 |
reader6.py \ |
| 28 |
reader7.py \ |
| 29 |
reader8.py \ |
| 30 |
readernext.py \ |
| 31 |
walker.py \ |
| 32 |
nsdel.py \ |
| 33 |
ctxterror.py\ |
| 34 |
readererr.py\ |
| 35 |
relaxng.py \ |
| 36 |
schema.py \ |
| 37 |
thread2.py \ |
| 38 |
sync.py \ |
| 39 |
tstLastError.py \ |
| 40 |
indexes.py \ |
| 41 |
dtdvalid.py \ |
| 42 |
tstmem.py \ |
| 43 |
validDTD.py \ |
| 44 |
validSchemas.py \ |
| 45 |
validRNG.py \ |
| 46 |
compareNodes.py \ |
| 47 |
xpathns.py \ |
| 48 |
xpathleak.py \ |
| 49 |
unicode.py |
| 50 |
|
| 51 |
XMLS= \ |
| 52 |
tst.xml \ |
| 53 |
valid.xml \ |
| 54 |
invalid.xml \ |
| 55 |
test.dtd |
| 56 |
|
| 57 |
EXTRA_DIST = $(PYTESTS) $(XMLS) setup_test.py |
| 58 |
|
| 59 |
CLEANFILES = core tmp.xml *.pyc |
| 60 |
|
| 61 |
if WITH_PYTHON |
| 62 |
check-local: |
| 63 |
@for f in $(XMLS) ; do test -f $$f || $(LN_S) $(srcdir)/$$f . ; done |
| 64 |
@echo "## running Python regression tests" |
| 65 |
@(export PYTHONPATH="..:../.libs:$(srcdir)/..:$$PYTHONPATH" ; \ |
| 66 |
export LD_LIBRARY_PATH="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \ |
| 67 |
export DYLD_LIBRARY_PATH="$(top_builddir)/.libs:$$DYLD_LIBRARY_PATH" ; \ |
| 68 |
export PATH="$(top_builddir)/.libs:$$PATH" ; \ |
| 69 |
for test in $(PYTESTS) ; do \ |
| 70 |
log=`$(PYTHON) $(srcdir)/$$test` ; \ |
| 71 |
if [ "$$?" -ne 0 ] ; then \ |
| 72 |
echo "-- $$test" ; \ |
| 73 |
echo "$$log" ; \ |
| 74 |
exit 1 ; \ |
| 75 |
fi ; \ |
| 76 |
done) |
| 77 |
endif |