]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Ignore hidden test files with ctest on macOS.
authorNathan Moinvaziri <nathan@solidstatenetworks.com>
Sun, 20 Sep 2020 17:13:41 +0000 (10:13 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 23 Sep 2020 20:34:55 +0000 (22:34 +0200)
CMakeLists.txt

index dbb9aabf6b4414e0c0d9b59115743fbd46a09aec..c815e5bd7a50b9a89970ddf6cf94e9c8e4cebf8b 100644 (file)
@@ -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()