mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-26 00:37:43 +03:00
meson: Run Python tests
This commit is contained in:
@@ -68,6 +68,59 @@ if py.found() == true
|
||||
configuration: setup_py,
|
||||
)
|
||||
|
||||
subdir('tests')
|
||||
python_tests = [
|
||||
'attribs.py',
|
||||
'build.py',
|
||||
'compareNodes.py',
|
||||
'ctxterror.py',
|
||||
'cutnpaste.py',
|
||||
'dtdvalid.py',
|
||||
'error.py',
|
||||
'inbuf.py',
|
||||
'indexes.py',
|
||||
'input_callback.py',
|
||||
'nsdel.py',
|
||||
'outbuf.py',
|
||||
'push.py',
|
||||
'pushSAX.py',
|
||||
'pushSAXhtml.py',
|
||||
'reader.py',
|
||||
'reader2.py',
|
||||
'reader3.py',
|
||||
'reader4.py',
|
||||
'reader5.py',
|
||||
'reader6.py',
|
||||
'reader7.py',
|
||||
'reader8.py',
|
||||
'readererr.py',
|
||||
'readernext.py',
|
||||
'regexp.py',
|
||||
'relaxng.py',
|
||||
'resolver.py',
|
||||
'schema.py',
|
||||
'serialize.py',
|
||||
'sync.py',
|
||||
'thread2.py',
|
||||
'tst.py',
|
||||
'tstLastError.py',
|
||||
'tstURI.py',
|
||||
'tstmem.py',
|
||||
'tstxpath.py',
|
||||
'validDTD.py',
|
||||
'validRNG.py',
|
||||
'validSchemas.py',
|
||||
'validate.py',
|
||||
'walker.py',
|
||||
'xpath.py',
|
||||
'xpathext.py',
|
||||
'xpathleak.py',
|
||||
'xpathns.py',
|
||||
'xpathret.py',
|
||||
]
|
||||
|
||||
foreach file : python_tests
|
||||
test(file, py, args: [ file ],
|
||||
workdir: meson.current_source_dir() / 'tests',
|
||||
env: { 'PYTHONPATH': meson.current_build_dir() })
|
||||
endforeach
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user