From: Nathan Moinvaziri Date: Sun, 20 Sep 2020 17:13:41 +0000 (-0700) Subject: Ignore hidden test files with ctest on macOS. X-Git-Tag: 1.9.9-b1~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a404080e6ef59a73b65903aa32d06da19516c134;p=thirdparty%2Fzlib-ng.git Ignore hidden test files with ctest on macOS. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index dbb9aabf6..c815e5bd7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1152,6 +1152,9 @@ if(ZLIB_ENABLE_TESTS) endif() foreach(TEST_CONFIG ${TEST_CONFIGS}) get_filename_component(TEST_NAME ${TEST_FILE_PATH} NAME_WE) + if (TEST_NAME STREQUAL "") + continue() + endif() test_minigzip(${TEST_NAME} ${TEST_FILE_PATH} ${TEST_CONFIG}) endforeach() endforeach()