1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
Commit Graph

11 Commits

Author SHA1 Message Date
Nick Wellnhofer
886bf4e63b Stop calling xmlMemoryDump
This was used to check for memory leaks but could potentially create a
.memdump file. These days, there are better ways to check for memory
leaks.
2023-04-30 15:48:41 +02:00
Ross Burton
4762c85668 Use python3 not python
As per https://peps.python.org/pep-0394/, the python binary can be one
of the following options:
- Python 2
- Python 3
- Not exist

All of the scripts in libxml2 use 'python', which may not exist.

As Python 2 reached EOL on the 1st January 2020, it's safe to move the
scripts to use python3 explicitly.
2022-12-07 13:21:12 +00:00
David Seifert
a62b31f43f
Use portable python shebangs
* In conda or Gentoo Prefix, we don't want to use the system python and
  instead rely on PATH lookup.
2022-04-06 19:57:30 +02:00
Nick Wellnhofer
649ddb4b2f Port some test scripts to Python 3 2022-03-29 15:55:51 +02:00
Daniel Veillard
9ebb632238 patches from John Carr to start cleaning up 'make diskcheck' problems c.f.
* check-relaxng-test-suite2.py check-relaxng-test-suite.py
  Makefile.am python/tests/Makefile.am python/Makefile.am
  check-xsddata-test-suite.py: patches from John Carr to
  start cleaning up 'make diskcheck' problems c.f. #506228
Daniel

svn path=/trunk/; revision=3674
2008-01-11 07:19:24 +00:00
William M. Brack
cb40c222a4 changed changed sys.path setting from 'append' to 'insert' (patch supplied
* check-relaxng-test-suite.py, check-relaxng-test-suite2.py,
  check-xinclude-test-suite.py, check-xml-test-suite.py,
  check-xsddata-test-suite.py, doc/examples/index.py: changed
  changed sys.path setting from 'append' to 'insert' (patch
  supplied by Malcolm Tredinnick) (bug 153716)
2004-10-02 22:55:49 +00:00
Daniel Veillard
6dc91962d0 remove a memory leak on schemas type facets. reduce verbosity incorporated
* relaxng.c: remove a memory leak on schemas type facets.
* check-relaxng-test-suite.py check-relaxng-test-suite2.py
  check-xsddata-test-suite.py: reduce verbosity
* configure.in Makefile.am: incorporated the Python regressions
  tests for Relax-NG and Schemas Datatype to "make tests"
Daniel
2004-03-22 19:10:02 +00:00
Daniel Veillard
798024a110 cosmetic change for output try to minimize calls to malloc/free for
* check-xsddata-test-suite.py: cosmetic change for output
* relaxng.c: try to minimize calls to malloc/free for states.
Daniel
2003-03-19 10:36:09 +00:00
Daniel Veillard
a1a9d04100 removed a warning more cleanup, added ENTITY and ENTITIES support
* tree.c: removed a warning
* xmlschemastypes.c: more cleanup, added ENTITY and ENTITIES
  support
* check-relaxng-test-suite.py check-xsddata-test-suite.py:
  cleanup/improvements of the regression tests batch
* test/relaxng/testsuite.xml: augmented libxml2 own testsuite
Daniel
2003-03-18 16:53:17 +00:00
Daniel Veillard
463a5479a8 give more infos fix a bug reported by Sebastian Rahtz and REF->DEF in
* check-xsddata-test-suite.py: give more infos
* relaxng.c: fix a bug reported by Sebastian Rahtz and
  REF->DEF in attribute values.
Daniel
2003-02-27 21:30:32 +00:00
Daniel Veillard
eb7189ff35 import of the XSD Datatype regression tests from James Clark. Daniel
* check-xsddata-test-suite.py test/xsdtest/xsdtest.xml
  test/xsdtest/xsdtest.xsl: import of the XSD Datatype
  regression tests from James Clark.
Daniel
2003-02-27 20:11:13 +00:00