]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fixed wrong command used in infcover unit test.
authorNathan Moinvaziri <nathan@nathanm.com>
Wed, 12 Feb 2020 01:53:28 +0000 (17:53 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Tue, 17 Mar 2020 15:32:32 +0000 (16:32 +0100)
CMakeLists.txt

index a23a8776ef5598cbd7cc59a27ec1436478ffc8b2..608a4c6b5b5e0547b88ac6661694c643113179b0 100644 (file)
@@ -1106,7 +1106,7 @@ if (ZLIB_ENABLE_TESTS)
             ${CMAKE_CURRENT_SOURCE_DIR}/crc32._h)
 
     set(INFCOVER_COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:infcover>)
-    add_test(NAME infcover COMMAND ${CMAKE_COMMAND})
+    add_test(NAME infcover COMMAND ${INFCOVER_COMMAND})
 
     set(GH_361_COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:minigzip> -4)
     add_test(NAME GH-361