]> git.feebdaed.xyz Git - 0xmirror/curl.git/commit
runtests: improve XML prolog check, enable `-w` permanently, fix two tests
authorViktor Szakats <commit@vsz.me>
Sun, 14 Dec 2025 08:42:59 +0000 (09:42 +0100)
committerViktor Szakats <commit@vsz.me>
Sun, 14 Dec 2025 11:26:38 +0000 (12:26 +0100)
commit187e219616dce058d9d3dd5eb126d2ab6d3dc9c7
treeb6938792a97d569f8a1a2a62647afde941e27b82
parentb714c674f3f1811c230cb21c350747afd62d6b82
runtests: improve XML prolog check, enable `-w` permanently, fix two tests

To really verify the presence of the XML prolog, also in CI.

- move the prolog check from `loadtest` to `checktest`.
  (load did a soft error, silently skipping the test instead of failing)
- runtests: enable `-w` functionality permanently for all test targets,
  drop the option. It has no measurable performance impact.
- test 798, 1665: add XML prolog.
  Follow-up to f0d277cb0e3712ae4edf8f51822ffa99e9b3ec54

Follow-up to b5ea0736bbeeae717925d8eccbdb15057d8e88e9 #19946
Follow-up to 904e7ecb66519951681377758fe6b07dde28ce36 #19347

Closes #19970
docs/runtests.md
tests/CMakeLists.txt
tests/Makefile.am
tests/data/test1665
tests/data/test798
tests/getpart.pm
tests/globalconfig.pm
tests/runner.pm
tests/runtests.pl