diff options
| author | Hans Kristian Rosbach <hk-git@circlestorm.org> | 2025-11-11 17:24:26 +0100 |
|---|---|---|
| committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2025-11-16 12:15:05 +0100 |
| commit | 8d4bd56217ab8f2701bc3f2fa643dcf45d460343 (patch) | |
| tree | c8349bdeabf24044b81bc775e47d8b5f45131d33 /test/test_shared_ng.h | |
| parent | 30ff317fb42797a2456f1747476cfc5c0085425c (diff) | |
| download | Project-Tick-8d4bd56217ab8f2701bc3f2fa643dcf45d460343.tar.gz Project-Tick-8d4bd56217ab8f2701bc3f2fa643dcf45d460343.zip | |
Use CTest to simplify testing options
Add CMake variable TEST_STOCK_ZLIB to disable some tests if attempting
to run our testsuite on stock zlib.
PR depends on CMP0077, introduced by CMake 3.13.
Upped minimum compatible CMake version to 3.13, same as we have
actually been telling people was the minumum for years on the wiki.
Upped upper compatible CMake version to 3.31, my current version.
Diffstat (limited to 'test/test_shared_ng.h')
| -rw-r--r-- | test/test_shared_ng.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_shared_ng.h b/test/test_shared_ng.h index 81e451998f..f87ef027e2 100644 --- a/test/test_shared_ng.h +++ b/test/test_shared_ng.h @@ -8,7 +8,7 @@ static inline int deflate_prime_32(PREFIX3(stream) *stream, uint32_t value) { int err; -#ifdef ZLIBNG_ENABLE_TESTS +#ifndef TEST_STOCK_ZLIB err = PREFIX(deflatePrime)(stream, 32, value); #else /* zlib's deflatePrime() takes at most 16 bits */ |
