curl/tests/server
Viktor Szakats d620ec6791
CI: add test timeouts, more cmake build tests, fix VS2010 C warning
- GHA/macos: set timeout for test runs.
  Double the value for autotools to fit torture tests.
- GHA/cygwin: reduce test run timeout for autotools.
- GHA/cygwin: enable building tests with cmake.
- GHA/windows: enable building tests with MSYS cmake.
- GHA/windows: enable building tests with MSVC UWP.
- appveyor: enable building tests with VS2008 x86 and VS2010 x64.
- tests: add workaround compiler warnings when building with VS2010:
  ```
  tests\server\util.c(482): warning C4306: 'type cast' : conversion from 'int' to 'void (__cdecl *)(int)' of greater size
  tests\server\util.c(486): warning C4306: 'type cast' : conversion from 'int' to 'void (__cdecl *)(int)' of greater size
  tests\server\util.c(490): warning C4306: 'type cast' : conversion from 'int' to 'void (__cdecl *)(int)' of greater size
  tests\server\util.c(720): warning C4306: 'type cast' : conversion from 'int' to 'void (__cdecl *)(int)' of greater size
  tests\server\util.c(726): warning C4306: 'type cast' : conversion from 'int' to 'void (__cdecl *)(int)' of greater size
  tests\server\util.c(732): warning C4306: 'type cast' : conversion from 'int' to 'void (__cdecl *)(int)' of greater size
  tests\server\util.c(781): warning C4306: 'type cast' : conversion from 'int' to 'void (__cdecl *)(int)' of greater size
  tests\server\util.c(785): warning C4306: 'type cast' : conversion from 'int' to 'void (__cdecl *)(int)' of greater size
  tests\server\util.c(789): warning C4306: 'type cast' : conversion from 'int' to 'void (__cdecl *)(int)' of greater size
  ```
  Ref: https://ci.appveyor.com/project/curlorg/curl/builds/50485633/job/4ujlwxod3cexmn2q#L1535

With this, tests are built in all GHA cygwin/windows jobs.

Timeouts avoid long runs with runaway issues, example:
https://github.com/curl/curl/actions/runs/10575522173

Closes #14700
2024-08-27 23:40:48 +02:00
..
.gitignore
base64.pl
CMakeLists.txt cmake: minor tidy-ups 2024-08-26 11:00:08 +02:00
disabled.c
fake_ntlm.c src: fix potential macro confusion in cmake unity builds 2024-08-22 10:45:04 +02:00
getpart.c src: fix potential macro confusion in cmake unity builds 2024-08-22 10:45:04 +02:00
getpart.h
Makefile.am tidy-up: delete Makefile.inc from EXTRA_DIST 2024-08-12 14:54:47 +02:00
Makefile.inc
mqttd.c src: fix potential macro confusion in cmake unity builds 2024-08-22 10:45:04 +02:00
resolve.c src: fix potential macro confusion in cmake unity builds 2024-08-22 10:45:04 +02:00
rtspd.c src: fix potential macro confusion in cmake unity builds 2024-08-22 10:45:04 +02:00
server_setup.h
server_sockaddr.h
sockfilt.c src: fix potential macro confusion in cmake unity builds 2024-08-22 10:45:04 +02:00
socksd.c src: fix potential macro confusion in cmake unity builds 2024-08-22 10:45:04 +02:00
sws.c src: fix potential macro confusion in cmake unity builds 2024-08-22 10:45:04 +02:00
testpart.c
tftp.h
tftpd.c src: fix potential macro confusion in cmake unity builds 2024-08-22 10:45:04 +02:00
util.c CI: add test timeouts, more cmake build tests, fix VS2010 C warning 2024-08-27 23:40:48 +02:00
util.h