]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test: Run Dockers only on Linux platforms 40794/head
authorWillem Jan Withagen <wjw@digiware.nl>
Sun, 11 Apr 2021 12:46:17 +0000 (14:46 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Sun, 11 Apr 2021 18:44:24 +0000 (20:44 +0200)
Running a docker alternative only works if the platform
   is Linux

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/test/CMakeLists.txt

index 5ead748421326802921553185675dc8aac8bfd63..772aeaddeff7c4238283b412be13f56edb255b82 100644 (file)
@@ -612,8 +612,10 @@ if(PROMTOOL_EXECUTABLE)
       "please use a newer prometheus")
   endif()
 else()
-  add_ceph_test(run-promtool-unittests
-    {CMAKE_CURRENT_SOURCE_DIR}/run-promtool-unittests.sh)
+  if(LINUX)
+    add_ceph_test(run-promtool-unittests
+      {CMAKE_CURRENT_SOURCE_DIR}/run-promtool-unittests.sh)
+  endif()
 endif()
 
 set_property(