tests/data: move --libcurl output to external data files

To make the test files XML-compliant, and the expected results
possibly easier to manage by keeping them in `.c` files.

Non-XML-compliant files are down to 36 after this patch.

Also:
- make all macro expansions apply to `%includetext` contents.

Closes #19799
This commit is contained in:
Viktor Szakats
2025-12-01 13:31:42 +01:00
parent 2ae983bf4e
commit d75716e4e5
27 changed files with 645 additions and 630 deletions

View File

@@ -22,6 +22,7 @@ if(@ARGV) {
}
@files = grep !/\/CMakeFiles\//, @files;
@files = grep !/tests\/data\/data.+\.c/, @files;
@files = map { dirname($_) } @files;
my @dirs = sort { $a cmp $b } keys %{{ map { $_ => 1 } @files }};