IDN: fix/extend/migrate test exclusion rules

- make sure to exclude failing tests when libidn2 is detected by
  default.

- ignore test 1560 results. Seen to fail with libidn2.
  I'm not sure why this test was not executed earlier:
  https://github.com/curl/curl/actions/runs/10354610889/job/28660309355#step:13:3647

- runtests: recognize `libidn2` as a feature.

- move IDN test exclusions from GHA/windows to `tests/data/DISABLED`.

- GHA/windows: drop default `-DUSE_LIBIDN2=ON` cmake config.

Cherry-picked from #14495
Closes #14519
This commit is contained in:
Viktor Szakats 2024-08-12 17:48:59 +02:00
parent 77d722a052
commit fdc3e88bf0
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 16 additions and 8 deletions

View file

@ -96,3 +96,15 @@
%if WinIDN
165
%endif
# Windows non-Unicode builds fail to receive Unicode text via the command-line
%if win32
%if !Unicode
%if libidn2
165
1560
%endif
1448
2046
2047
%endif
%endif