71 Commits

Author SHA1 Message Date
Vollstrecker bb0c497580 CMake: Avoid coverage testing when cross-compiling. 2026-06-01 02:11:27 -07:00
Vollstrecker d491f4a609 CMake: Fix tests with pre-3.24 cmake updates. 2026-06-01 02:11:27 -07:00
Vollstrecker 25e021a3e5 CMake: Avoid running integration tests when not installing. 2026-06-01 02:11:27 -07:00
Vollstrecker 3e8969d1b9 CMake: Avoid test in tests. 2026-06-01 02:11:27 -07:00
Vollstrecker 979a56e9a9 CMake: Fix zlib test-dep-graph. 2026-06-01 01:58:57 -07:00
Vollstrecker 90d5bd8a13 CMake: Prefix targets and tests with zlib_ when not standalone. 2026-06-01 00:19:01 -07:00
Vollstrecker ace35f66d6 CMake: Break long lines for readability. 2026-06-01 00:18:35 -07:00
Vollstrecker 582b8efd5f CMake: Remove unnecessary make_directory calls. 2026-06-01 00:18:05 -07:00
Vollstrecker b2ed1975cf CMake: Consolidate build tests in the test directory. 2026-05-31 23:22:32 -07:00
Vollstrecker d5671281ab CMake: Rename the targets to the same schema. 2026-05-31 23:20:55 -07:00
Vollstrecker 43129bf894 CMake: Create all package targets. 2026-05-31 23:20:16 -07:00
Vollstrecker 0d10bbd3d5 CMake: Avoid failure if only static or shared is found. 2026-05-31 23:20:16 -07:00
Marcin Serwin 7cdaaa0909 CMake: Don't add coverage tests if gcov is not found. 2026-03-26 16:05:52 -07:00
Mark Adler 9e35567064 Version 1.3.2 2026-02-17 04:47:06 -08:00
Mark Adler b739f6f797 Make type changes for solo code explicit in test/minigzip.c. 2026-02-17 04:36:48 -08:00
Rose 3c173d5851 Match signedness in format specifiers. 2026-02-13 14:43:20 -08:00
Mark Adler 5a153ade3f Correct printf types in test/example.c. 2026-02-10 22:37:25 -08:00
Vollstrecker d3e5c539ed CMake: Add components tests for zlib. 2026-01-31 20:10:58 -08:00
xjdeng 8236296e42 Fix resource closures in test/minigzip.c.
Not really needed, since exit() is called. But just in case the
code is somehow later reused without the exit()'s. (By AI?)
2026-01-28 11:58:25 -08:00
Vollstrecker dc35cccfa7 CMake: Name tests consistently. 2026-01-12 11:10:03 -08:00
Vollstrecker bac2e2d457 CMake: Fix typos in test/CMakeLists.txt. 2025-12-06 17:39:45 -08:00
Vollstrecker 5a82f71ed1 Use generated zconf.h in cmake build.
This restores the inclusion of the local zconf.h (double quoted)
in normal usage.
2025-02-18 15:00:15 -08:00
Vollstrecker 2c62f8885c CMake: Clean up spaces in required versions. 2025-01-31 20:02:26 -08:00
Vollstrecker 5a31e529bc CMake: Add the tested version of cmake (3.31).
Per @ClausKlein suggestion.
2025-01-31 20:02:26 -08:00
Vollstrecker 8b8a124eb4 CMake: Add cmake-format.yaml and reformat the cmake files. 2025-01-31 20:02:26 -08:00
Vollstrecker 7667ca5593 CMake: Re-enable Cygwin and MSYS tests. 2025-01-31 20:02:26 -08:00
Vollstrecker c31099862f CMake: Add one more alias for llvm-cov. 2025-01-31 20:02:26 -08:00
Vollstrecker e843c631d6 CMake: Refine tests. 2025-01-31 20:02:26 -08:00
Vollstrecker a5db296ace CMake: Increase CMake version to 3.10 for tests.
And correct package name to ZLIB.
2025-01-31 19:59:10 -08:00
Vollstrecker 3b613563d3 CMake: Prefix coverage test name with zlib. 2025-01-31 19:59:10 -08:00
Vollstrecker 93457606bf CMake: Add inflate coverage test. 2025-01-31 19:59:10 -08:00
Vollstrecker 27198174ca CMake: Correct target to minizip. 2025-01-31 19:59:10 -08:00
Vollstrecker 5163cb6d3b CMake: Move testing into test/CMakeLists.txt.
Use the right environment to find the libraries.
2025-01-31 19:59:10 -08:00
Vollstrecker 920385267f CMake: Fix parallel testing. 2025-01-31 19:59:10 -08:00
Vollstrecker d7afcaa2be CMake: Shorten test names. 2025-01-31 19:59:10 -08:00
Vollstrecker fd00a94838 CMake: Disable MinGW and Cygwin tests. 2025-01-31 19:59:10 -08:00
Vollstrecker 01ef679251 CMake: Pass CC and CFLAGS to the tests. 2025-01-31 19:59:10 -08:00
Vollstrecker 6084c550c3 CMake: Set the platform and configuration for the tests. 2025-01-31 19:59:10 -08:00
Vollstrecker 1fce5f2cdf CMake: Add more tests. 2025-01-31 19:59:10 -08:00
Vollstrecker 7dc2b78206 CMake: Add test for usage with find_package. 2025-01-31 19:59:10 -08:00
Mark Adler ceadaf28df Fix test/infcover.c function prototype when ZLIB_CONST defined. 2024-07-11 09:22:47 -07:00
Mark Adler fd5fe8b17e Further address Microsoft deprecation warnings. 2024-02-09 20:11:54 -08:00
Mark Adler 1bff6f0fd5 Avoid signedness change warning in test/minigzip.c. 2024-02-09 20:11:39 -08:00
Mark Adler 985a62d118 Address Microsoft deprecation warnings. 2024-02-08 18:45:49 -08:00
Mark Adler 81e7c38608 Correct printf formats in test/infcover.c to %zu. 2024-02-07 14:38:57 -08:00
Mark Adler 915a3d5b7b Avoid use of snprintf() in test/minigzip.c.
It was being used only as a safe version of strcpy(). Instead, use
a safe alternative to strcpy().
2024-02-06 18:27:31 -08:00
Paul Marquess 4b98fd39c8 Enable fileno() for POSIX system in minigzip.c. 2024-02-05 23:51:31 -08:00
Cameron Cawley 4de0b054a5 Improve portability to RISC OS. 2024-01-23 06:27:49 -08:00
Dimitri Papadopoulos fe41d18921 Correct typos in source code. 2024-01-17 16:43:38 -08:00
Xin LI bd9c329c10 Make internal functions static in the test code.
To avoid warnings when building with -Wmissing-prototypes.
2023-09-03 21:50:07 -07:00