On 28. 5. 25 11:36, br...@apache.org wrote:
Author: brane
Date: Wed May 28 09:36:46 2025
New Revision: 1925899

URL:http://svn.apache.org/viewvc?rev=1925899&view=rev
Log:
Improve the XML validation support in the test suite by making it optional
and adding some tooling for different ways to install and use the required
dependencies:

   * run_tests.py --create-python-venv=/abspath /abs-srcdir
     will only create a virtual environment, at /abspath/__venv__, install
     dependencies and print the path to the python interpreter in that venv.
   * run_test.py --python-venv=/abspath ... will run the tests assuming
     there's a virtual environment in /abspath/__venv__ and will not
     create one in the work test area.
   * Without either of those arguments, the tests will run as before and
     will create a virtual environment in the test work area, but the
     dependency checks have been improved so that we don't have to run
     pip every time.

This fixed the Windows tests, with XML validation still there. A nice side effect is that the python test dependencies are installed during cmake configure, not during the test run.

-- Brane

Reply via email to